Next: , Previous: Articulation Markings (File), Up: `.fms' File Examples


6.5 Spanner Marks

“Spanner marks” are marks that span across one or more notes in score. Examples are slurs, crescendo/decrescendo wedges and text marks followed by dashed lines. There are several ways of entering these types of marks, all of which involve the use of either a begin, end, or “continue” mark. A ellipsis with two dots (‘..’) (or single dots in the case of a continue mark) is used to denote which part of the spanner a mark represents—for example, (.., ..) and .(. are the begin, end and continue marks of a slur.

A straightforward method of specifying spanner marks is to indicate where they start and stop. In this example, (.. and ..) marks are used to signify the beginnings and ends of slurs:

part <id pno, inst piano>

part pno

duration 1/2
time 0 voice 1 pitch 76 ;
time 1/2 voice 1 pitch 74 [(..] ;
time 1 voice 1 pitch 71 ;
time 1+1/2 voice 1 pitch 79 ;
time 2 voice 1 pitch 70 [..)] ;
time 2+1/2 voice 1 pitch 67 ;
time 3 voice 1 pitch 71 ;
time 3+1/2 voice 1 pitch 80 [(..] ;
time 4 voice 1 pitch 69 ;
time 4+1/2 voice 1 pitch 67 ;
time 5 voice 1 pitch 71 [..)] ;
time 5+1/2 voice 1 pitch 82 [(..] ;
time 6 voice 1 pitch 75 ;
time 6+1/2 voice 1 pitch 80 ;
time 7 voice 1 pitch 68 [..)] ;
time 7+1/2 voice 1 pitch 64 [(..] ;

duration 1
time 8 voice 1 pitch 68 [..)] ;

ex049.png

Figure 6.29: Slurs

Only the begin marks are given in the next example. In this example, each end occurs before the beginning of the next slur or on the very last note if there is no next slur. Slurs spanning only a single note are removed (though they may still affect the placement of other slurs). FOMUS considers each voice separately when calculating spanners (with the exception of a few marks like octave change signs, which need to be calculcated separately for each staff).

part <id pno, inst piano>

part pno

duration 1/2

time 0
voice 1 pitch 76 [(..] ;
voice 2 pitch 57 ;
time 1/2
voice 1 pitch 74 [(..] ;
voice 2 pitch 55 ;
time 1
voice 1 pitch 71 ;
voice 2 pitch 54 [(..] ;
time 1+1/2
voice 1 pitch 79 [(..] ;
voice 2 pitch 36 [(..] ;
time 2
voice 1 pitch 70 ;
voice 2 pitch 49 [(..] ;
time 2+1/2
voice 1 pitch 67 [(..] ;
voice 2 pitch 38 ;
time 3
voice 1 pitch 71 ;
voice 2 pitch 37 ;
time 3+1/2
voice 1 pitch 80 [(..] ;
voice 2 pitch 36 ;
time 4
voice 1 pitch 69 ;
voice 2 pitch 49 ;
time 4+1/2
voice 1 pitch 67 ;
voice 2 pitch 49 [(..] ;
time 5
voice 1 pitch 71 ;
voice 2 pitch 47 [(..] ;
time 5+1/2
voice 1 pitch 82 [(..] ;
voice 2 pitch 52 [(..] ;
time 6
voice 1 pitch 75 [(..] ;
voice 2 pitch 46 [(..] ;
time 6+1/2
voice 1 pitch 80 ;
voice 2 pitch 47 [(..] ;
time 7
voice 1 pitch 68 [(..] ;
voice 2 pitch 47 ;
time 7+1/2
voice 1 pitch 64 [(..] ;
voice 2 pitch 38 [(..] ;

duration 1

time 8
voice 1 pitch 68 ;
voice 2 pitch 41 ;

ex029.png

Figure 6.30: Slurs using Begin Marks

End marks may also be used by themselves:

part <id pno, inst piano>

part pno

duration 1/2

time 0
voice 1 pitch 76 [..)] ;
voice 2 pitch 57 ;
time 1/2
voice 1 pitch 74 [..)] ;
voice 2 pitch 55 ;
time 1
voice 1 pitch 71 ;
voice 2 pitch 54 [..)] ;
time 1+1/2
voice 1 pitch 79 [..)] ;
voice 2 pitch 36 [..)] ;
time 2
voice 1 pitch 70 ;
voice 2 pitch 49 [..)] ;
time 2+1/2
voice 1 pitch 67 [..)] ;
voice 2 pitch 38 ;
time 3
voice 1 pitch 71 ;
voice 2 pitch 37 ;
time 3+1/2
voice 1 pitch 80 [..)] ;
voice 2 pitch 36 ;
time 4
voice 1 pitch 69 ;
voice 2 pitch 49 ;
time 4+1/2
voice 1 pitch 67 ;
voice 2 pitch 49 [..)] ;
time 5
voice 1 pitch 71 ;
voice 2 pitch 47 [..)] ;
time 5+1/2
voice 1 pitch 82 [..)] ;
voice 2 pitch 52 [..)] ;
time 6
voice 1 pitch 75 [..)] ;
voice 2 pitch 46 [..)] ;
time 6+1/2
voice 1 pitch 80 ;
voice 2 pitch 47 [..)] ;
time 7
voice 1 pitch 68 [..)] ;
voice 2 pitch 47 ;
time 7+1/2
voice 1 pitch 64 [..)] ;
voice 2 pitch 38 [..)] ;

duration 1

time 8
voice 1 pitch 68 ;
voice 2 pitch 41 ;

ex050.png

Figure 6.31: Slurs using End Marks

6.5.1 Modifying Spanner Mark Behavior

By default, spanner marks do not touch, span rests or span across single notes. This behavior can be changed at any level (in a note, measure, part or the entire score) with settings. The settings controlling default slur behavior, for example, are slurs-canspanrests and slurs-cantouch.

slurs-cantouch = yes

part <id pno, inst piano>

part pno

duration 1/2

time 0
voice 1 pitch 76 [(..] ;
voice 2 pitch 57 ;
time 1/2
voice 1 pitch 74 [(..] ;
voice 2 pitch 55 ;
time 1
voice 1 pitch 71 ;
voice 2 pitch 54 [(..] ;
time 1+1/2
voice 1 pitch 79 [(..] ;
voice 2 pitch 36 [(..] ;
time 2
voice 1 pitch 70 ;
voice 2 pitch 49 [(..] ;
time 2+1/2
voice 1 pitch 67 [(..] ;
voice 2 pitch 38 ;
time 3
voice 1 pitch 71 ;
voice 2 pitch 37 ;
time 3+1/2
voice 1 pitch 80 [(..] ;
voice 2 pitch 36 ;
time 4
voice 1 pitch 69 ;
voice 2 pitch 49 ;
time 4+1/2
voice 1 pitch 67 ;
voice 2 pitch 49 [(..] ;
time 5
voice 1 pitch 71 ;
voice 2 pitch 47 [(..] ;
time 5+1/2
voice 1 pitch 82 [(..] ;
voice 2 pitch 52 [(..] ;
time 6
voice 1 pitch 75 [(..] ;
voice 2 pitch 46 [(..] ;
time 6+1/2
voice 1 pitch 80 ;
voice 2 pitch 47 [(..] ;
time 7
voice 1 pitch 68 [(..] ;
voice 2 pitch 47 ;
time 7+1/2
voice 1 pitch 64 [(..] ;
voice 2 pitch 38 [(..] ;

duration 1

time 8
voice 1 pitch 68 ;
voice 2 pitch 41 ;

ex051.png

Figure 6.32: Touching Slurs

Individual spanner behavior can also be changed by appending character “flags” to the mark ids. Appending an ‘r’, for example, indicates that the mark can span rests ‘n’ indicates it should span notes only. ‘1’ indicates that the mark can span a single note, while ‘m’ indicates it can only span multiple notes. The example below uses ‘-’ and ‘|’ to indicate whether the slurs can touch or not. Not all of these flags are valid for every spanner mark (you cannot append ‘1’ or ‘m’ to slur marks, for example).

part <id pno, inst piano>

part pno

duration 1/2

time 0
voice 1 pitch 76 [(-..] ;
voice 2 pitch 57 ;
time 1/2
voice 1 pitch 74 [(-..] ;
voice 2 pitch 55 ;
time 1
voice 1 pitch 71 ;
voice 2 pitch 54 [(|..] ;
time 1+1/2
voice 1 pitch 79 [(-..] ;
voice 2 pitch 36 ;
time 2
voice 1 pitch 70 ;
voice 2 pitch 49 [(|..] ;
time 2+1/2
voice 1 pitch 67 [(-..] ;
voice 2 pitch 38 ;
time 3
voice 1 pitch 71 ;
voice 2 pitch 37 ;
time 3+1/2
voice 1 pitch 80 [(-..] ;
voice 2 pitch 36 ;
time 4
voice 1 pitch 69 ;
voice 2 pitch 49 ;
time 4+1/2
voice 1 pitch 67 ;
voice 2 pitch 49 [(|..] ;
time 5
voice 1 pitch 71 ;
voice 2 pitch 47 [(|..] ;
time 5+1/2
voice 1 pitch 82 [(-..] ;
voice 2 pitch 52 [(|..] ;
time 6
voice 1 pitch 75 [(-..] ;
voice 2 pitch 46 ;
time 6+1/2
voice 1 pitch 80 ;
voice 2 pitch 47 [(|..] ;
time 7
voice 1 pitch 68 [(-..] ;
voice 2 pitch 47 ;
time 7+1/2
voice 1 pitch 64 [(-..] ;
voice 2 pitch 38 [(|..] ;

duration 1

time 8
voice 1 pitch 68 ;
voice 2 pitch 41 ;

ex052.png

Figure 6.33: Marks with Flags

The following example shows how crescendo/decrescendo wedges can be made to span single notes. wedges-cantouch is also set to allow the marks to begin and end on the same note.

transpose-keysigs = no
wedges-canspanone = yes
wedges-cantouch = yes

// parts
part <id tpt, inst bflat-trumpet>

// events
part tpt
time 0 dur 4 ||
time 0 dur 2 pitch 74 [<..] ;
time 2 dur 2 pitch 74 ;
time 4 dur 2 pitch 70 ;
time 6 dur 2 pitch 74 [>..] ;
time 8 dur 2 pitch 73 ;
time 10 dur 2 pitch 70 [<..] ;

ex053.png

Figure 6.34: Wedges

The beginnings and ends of these spanner marks are attached to noteheads. A few spanners, like crescendo/decrescendo wedges, can be “detached” or separated from noteheads and appear independently in the score. See Mark Events (File) for examples of how to do this.

6.5.2 Continue Marks

Another way to specify where spanners begin and end is to use “continue” marks. To use them, place a continue mark over every note event that falls under a spanner and, if necessary, include begin or end marks to resolve any ambiguities. FOMUS places begin or end marks where they are missing at the beginnings or ends of any contiguous set of continue marks within a single voice.

Continue marks are indicated by surrounding the base spanner mark symbol with two dots, one on either side. For example, .(. signifies a slur continue mark while .<. signifies a crescendo continue mark.

part <id pno, inst piano>

part pno

duration 1/2
time 0 voice 1 pitch 76 ;
time 1/2 voice 1 pitch 74 [(..][.(.] ;
time 1 voice 1 pitch 71 [.(.] ;
time 1+1/2 voice 1 pitch 79 [.(.] ;
time 2 voice 1 pitch 70 [.(.] ;
time 2+1/2 voice 1 pitch 67 ;
time 3 voice 1 pitch 71 ;
time 3+1/2 voice 1 pitch 80 [(..][.(.] ;
time 4 voice 1 pitch 69 [.(.] ;
time 4+1/2 voice 1 pitch 67 [.(.] ;
time 5 voice 1 pitch 71 [.(.] ;
time 5+1/2 voice 1 pitch 82 [(..][.(.] ;
time 6 voice 1 pitch 75 [.(.] ;
time 6+1/2 voice 1 pitch 80 [.(.] ;
time 7 voice 1 pitch 68 ;
time 7+1/2 voice 1 pitch 64 [(..] ;

duration 1
time 8 voice 1 pitch 68 [.(.] ;

ex057.png

Figure 6.35: Continue Marks