Musescore for mechanical music instruments
We started to use Musescore to arrange music for mechanical music instruments like music boxes or hand organs.
We wrote a script to transform midi into svg to get a pattern for the laser cutter in our hackerspace.
However, since such instruments are often not fully chromatic, most music needs some arrangement (transpose, replace unplayable notes) before it is playable.
To help in the arrangement, I created tailored instruments for Musescore. E.g., for a 30-note semi-chromatic music box, the instrument definition is the following:
<Instrument id="musicbox-30notes"> <longName>Music Box 30</longName> <shortName>M.b.</shortName> <description>30-note Teanola Music Box</description> <musicXMLid>mechanical.musicbox30</musicXMLid> <staves>2</staves> <clef>1</clef> <clef staff="2">17</clef> <barlineSpan>1</barlineSpan> <transposeDiatonic>3</transposeDiatonic> <transposeChromatic>5</transposeChromatic> <aPitchRange>53-93</aPitchRange> <pPitchRange>53-93</pPitchRange> <Channel></Channel> <genre>mechanical</genre> </Instrument>
By using the PitchRanges, I can only see if a note is too low or to high. Within this range, there are many other unplayable notes. Hence, I wrote a plugin that colors and mutes all unplayable notes for a given instrument. That works quite well.
However, it would be much easier if this function would be included in MuseScore. It could be realized by an additional definition in the instrument.xml, e.g.:
<playablePitches>53, 55, 60, 62, 64, 65, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93 </playablePitches>
If this definition is found, all notes that have a pitch different from those in the list would be colored (like the ones outside the pitchRange). This might be also interesting for other instruments that are not chromatic.
Or is there a feature like this already in MuseScore that I missed?