Creating New Instruments
I am trying to add a tenoroon part and subcontrabassoon (still in prototype) to the code so I don’t have to manually change parts every time but I can’t find how to
I am trying to add a tenoroon part and subcontrabassoon (still in prototype) to the code so I don’t have to manually change parts every time but I can’t find how to
Do you still have an unanswered question? Please log in first to post your question.
Comments
You can add an instruments.xml file and tells it's location in Edit->Preferences in the Score tab. You can use the existing instruments.xml (in the data sub folder under the MuseScore folder). The new instruments.xml file should only have the instruments you are adding. The only documentation for this is at https://musescore.org/en/developers-handbook/references/instruments.xml…. Using an existing instrument from the default instruments.xml file is more informative in my opinion.
In reply to You can add an instruments… by mike320
hello
can someone give me an example of an instrument.xml with only one instrument in it.
I am not into programing and never managed it so i always have to add the new instruments to the existing list .
This is not so easy because the list is so long.
In reply to hello can someone give me an… by wolfgan
If you wanted to put a stringed instrument (with strings defined) this is all that would need to be in the file. This is from the default (version 2.something) instruments.xml, but serves to show the basic structure of an instrument definition.
In reply to If you wanted to put a… by mike320
I believe you'd need to wrap this inside
and
</museScore>
</xml>
Maybe even
and
</xml>
Edit, @mike320 added this in his example now
In reply to I believe you'd need to wrap… by Jojo-Schmitz
thank you both