<div dir="ltr"><div>Hi,</div><div><br></div><div>This is my first post to the MEI mailing list.</div><div>I'm implementing MEI into our music renderer and am having trouble getting all the info I need about staves.</div><div><br></div><div>I searches the documentation and mail archives for answers but wasn't able to find what I'm looking for.</div><div><br></div><div>So each staff is declared seperatly, with the <staffGrp> certain groups and there symbols are declared. Although a brace usually means that the staves within are the same player (e.g. piano brace), it is not enough to be sure of it.</div><div><br></div><div>In the example files I looked at 'Altenburg_Ein_feste_Burg', the relevant xml:</div><div><br></div><div><div> <scoreDef meter.count="4" meter.unit="4" meter.sym="common" key.sig="0" key.mode="major"></div><div> <staffGrp></div><div> <staffGrp symbol="brace" barthru="true"></div><div> <staffDef n="1" clef.line="2" clef.shape="G" key.sig="0" lines="5" label="Trompete 1" label.abbr="Tr 1"/></div><div> <staffDef n="2" clef.line="2" clef.shape="G" key.sig="0" lines="5" label="Trompete 2" label.abbr="Tr 2"/></div><div> <staffDef n="3" clef.line="2" clef.shape="G" key.sig="0" lines="5" label="Trompete 3" label.abbr="Tr 3"/></div><div> </staffGrp></div><div> <staffGrp symbol="bracket" barthru="true"></div><div> <staffDef n="4" clef.shape="G" clef.dis="8" clef.dis.place="below" clef.line="2" label="Pos1 Tro 4" key.sig="0" label.abbr="P 1 Tr 4" lines="5"/></div><div> <staffDef n="5" clef.line="4" clef.shape="F" lines="5" key.sig="0" label="Posaune 2" label.abbr="Pos 2"/></div><div> <staffDef n="6" label="Posaune 3" label.abbr="Pos 3" clef.line="4" clef.shape="F" key.sig="0" lines="5"/></div><div> </staffGrp></div><div> </staffGrp></div><div> </scoreDef></div></div><div><br></div><div>and: Chopin_Etude_op.10_no.9:</div><div><br></div><div><div> <scoreDef meter.count="6" meter.unit="8" key.sig="4f" key.mode="minor"></div><div> <staffGrp symbol="brace" barthru="true"></div><div> <staffDef n="1" clef.shape="G" lines="5" clef.line="2"/></div><div> <staffDef n="2" clef.line="4" clef.shape="F" lines="5"/></div><div> </staffGrp></div><div> </scoreDef></div></div><div><br></div><div>So in both cases I have a group of staves with a brace symbol, how should I know which staves are played by which player.</div><div>I can try to sniff the labels and by guessing the semantic meaning of 'Trompete 1,2,3' and conclude these has to be 3 different parts. In the second example this isn't possible, so this won't work (no surprise).</div><div>In a dynamic music renderer, where you can switch parts on/off this is key information.</div><div><br></div><div>How should it be done? Am I missing something?</div><div><br></div><div>Thanks in advance!</div><div>Hans Vereyken</div>
</div>