Import musicXML - instrument assignment
Hello everyone,
I have the following project:
- Write a very reduced score, with few staves, indicating when instruments take up or leave the melodic line using chord symbols (example: +Vl on a note to say that, at that moment, the violin is added to the texture).
- Export to musicxml
- Using a python script, generate a musicxml file containing a staff for each instrument involved.
- Import this musicxml into musescore.
Everything works fine, except for the instruments assigned by default to each track, even if you modify the instrument.xml file.
For example, the violin(section) is automatically assigned to the musesound instrument "violin 2".
It doesn't seem possible to choose between "Trumpet" and "Trumpets".
The flute is assigned to the "MS Basic flute", not to a musesound...
In short, is there any way of choosing precisely which musesound sound is assigned to the "instrument-sound" tag in musicxml?
If not, is there a way around the problem? (In the worst case, I "only" have to modify the mscx directly, but well...)
Thanks in advance
Comments
I'm having a related issue with importing XML files. When you import a piano score via XML, musescore receives each note of each hand as individual vocal lines and will input rests that are impossible to erase because it is attempting to fill the four beats in a measure properly, Even though it is not four parts but four notes stacked for the right hand of a piano. Apparently, musescore cannot receive XML files that contain that kind of information nor Can musescore take Data from an XML upload and assign it to an instrument upon arrival. This was literally just told me five minutes ago. (my question is the one above yours.)
In reply to I'm having a related issue… by misterhyjinx
I import from musicXML, which has a field giving the instrument linked to a part.
As proof, musescore doesn't import it as a piano.
My problem is that, for example, "violin" may correspond to "Violin (section/solo) 1/2" or even "violin MS Basic", and I'd like to choose which one is taken.