I’m trying to modify instruments.xml to get a three-line staff. I picked Alpenhorn, because, hey… why not.
I get three lines, but I can’t get a key signature to display on it. What am I missing?
Here’s what I have. All I changed was .
The treble clef isn’t displaying because I deleted it in the Music Symbols editor, but it’s a treble clef staff.
<InstrumentEntityDefinition>
<name>3-Line Chant</name>
<entityID>instrument.brass.alphorn.f.alias.alpenhorn</entityID>
<parentEntityID/>
<aliasOfEntityID>instrument.brass.alphorn.f</aliasOfEntityID>
<inheritanceMask>0</inheritanceMask>
<nameID>instrumentname.brass.alphorn.f.alias.alpenhorn</nameID>
<numStaves>1</numStaves>
<musicXMLSoundID>brass.alphorn</musicXMLSoundID>
<numberingStyle>kDummy</numberingStyle>
<showGuitarChords>false</showGuitarChords>
<showChordSymbols>false</showChordSymbols>
<staveDefinition>
<numStaveLines>3</numStaveLines>
<barlineSpan>1</barlineSpan>
<useBrace>false</useBrace>
<isVocalStave>false</isVocalStave>
<defaultContextualStemDirectionIsUp>false</defaultContextualStemDirectionIsUp>
</staveDefinition>
<clefs>
<clefIDsForEachStave array="true">
<staveClefIDs>
<idForTransposingLayouts>clef.treble</idForTransposingLayouts>
</staveClefIDs>
</clefIDsForEachStave>
</clefs>
<pitchedInstrumentData>
<concertOctaveTransposition>0</concertOctaveTransposition>
<transposedChromaticTransposition>0</transposedChromaticTransposition>
<transposedDiatonicTransposition>0</transposedDiatonicTransposition>
<useKeySignatures>true</useKeySignatures>
<showTransposition>kFollowOptions</showTransposition>
</pitchedInstrumentData>