Custom Instrument in instruments.xml does not show up in mixer
Musescore 4.1.1
I am trying to add an extra instrument in the instruments.xml file. It would be a separate instrument for the pedal part of a pipe organ, so I can label that staff as Pedal (as I see in other scores I commonly use). However, it appears that when I make the score, using attributes from other instruments as well as referencing the limited instruments.xml documentation, the instruments appears fine on the score. However, the instrument does not show up in the mixer, and sound does not play (which I guess is expected if it is not indexed in the mixer). I have attached two photos, one showing the code that should give me what I am looking for (instrument id organ-pedal) as well as a perfectly functional stock organ instrument (ID pipe-organ). The second image shows the behavior as it occurs on the score. (as a note, the channel labels on the mixer got cut off in the screenshot. They are "Organ", "Pipe organ", "Metronome", and "Master". "Pedal" is nowhere to be seen. I saw some other issues in the forum with my same problem, but no solutions.
Edit: could this be a bug relating to the switch to Musescore's new methods for processing audio beginning with version 4.0.0? It appears the score works well, but once it comes to the processing of audio, things go fubar
Attachment | Size |
---|---|
Screenshot 2023-10-18 at 3.29.45 PM.png | 690.97 KB |
Screenshot 2023-10-18 at 3.40.12 PM.png | 534.66 KB |
Comments
My suggestion would be to leave the manipulation of the xml and insert a third organ when setting up the score normally, and delete the two staffs for the hands in the instrument tab for this one. Then this instrument (Organ Pedal in your case) will also be displayed in the mixer.
Churchorgan.mscz
This setup contains only two organs, where the second one is only the bass staff for the pedal.
In reply to My suggestion would be to… by Pentatonus
I did that yesterday for a score I was creating before I wrote this post. I decided it would be too tedious to do every time (I am a full time organist and choir director), hence the research into Musescore's documentation on editing the instruments.xml file and eventually this post. I will probably end up just making a score template with a closed satb grand staff and my custom organ layout, but this functionality should work. It works to a point (creation of the staff as I desire it), but it appears a bug is preventing the full functionality (hence why I posted it in the bug reports section)
In reply to I did that yesterday for a… by natepul29
See https://musescore.org/en/node/344873
I confirm the new instruments does not show up in the mixer - but for just score writing it's fine.
(you can also use Preferences - Score - 'Score order list 2' and use a separate instrument xml file as was done in MS3)
see also https://musescore.org/en/node/347254
In reply to See https://musescore.org/en… by graffesmusic
Seems to work if one uses a Instrument Id with an existing mapping
see source code:
https://github.com/musescore/MuseScore/tree/master/src/engraving/playba…
This Error:
2023-10-19T15:53:26.085 | ERROR | main_thread | PlaybackSetupDataResolver | resolveSetupData: Unable to resolve setup data for instrument, id: g-piccolo-trumpet, family: trumpets
2023-10-19T15:53:26.085 | ERROR | main_thread | ArticulationProfilesRepository | defaultProfile: Unable to find path for undefined articulations family
2023-10-19T15:53:26.085 | ERROR | main_thread | PlaybackModel | processSegment: unsupported instrument family: 2
e.g. for a piccolo trumpet in G, use Instrument id="piccolo-trumpet" instead of "g-piccolo-trumpet"
then the piccolo trumpet shows up in the mixer and plays
For an organ, the Instrument id should probably just be 'organ' instead of 'organ-pedal'
What format is your organ instrument? Can't you add it as an sf2 or something?
In reply to What format is your organ… by bobjp
bobjp, that is not the functionality I am looking for. I am just trying to create another instrument for the score creation menu so it will show up in a way I desire on my scores. As far as sound creation, I would be happy for it to work with the general midi pipe organ sound