Next: , Previous: Spanner Marks (File), Up: `.fms' File Examples


6.6 Staves and Clefs Signatures

6.6.1 Selecting Staves

Use the staff setting to override FOMUS's choice of staves. Staff numbering begins with 1, representing the highest staff in the part.

dur 1/2
time 0 pitch 60 staff 1 ;
time 1/2 pitch 60 staff 2 ;
time 1 pitch 60 staff 1 ;
time 1+1/2 pitch 60 staff 2 ;
time 2 pitch 60 staff 1 ;
time 2+1/2 pitch 60 staff 2 ;
staff 1 {
time 3 pitch 60 ;
time 3+1/2 pitch 60 ;
}

dur 1
time 4 pitch 60 staff (1 2) ;

ex030.png

Figure 6.36: Staves

staff is unlike voice in that staff is a setting while voice is an input parameter like time or pitch. This means that if you want to influence the staff placement of individual notes you must include staff in every event where you want to force the choice.

6.6.2 Clefs Signatures

Use the clef setting to override FOMUS's clef signature choice. Like staff if you want to influence the clef signature for individual notes you must include clef in every note event where you want to force the choice.

dur 1/2
time 0 pitch 60 staff 1 clef treble ;
time 1/2 pitch 60 staff 2 clef treble ;
time 1 pitch 60 staff 1 clef treble ;
time 1+1/2 pitch 60 staff 2 clef treble ;
time 2 pitch 60 staff 1 clef bass ;
time 2+1/2 pitch 60 staff 2 clef bass ;
time 3 pitch 60 staff 1 clef bass ;
time 3+1/2 pitch 60 staff 2 clef bass ;

dur 1
time 4 pitch 60 staff 1 clef treble ;

ex069.png

Figure 6.37: Clefs