]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/phrasing-slur-multiple.ly
Merge branch 'master' of git://git.savannah.gnu.org/lilypond.git
[lilypond.git] / input / regression / phrasing-slur-multiple.ly
1 \version "2.15.4"
2
3 #(ly:set-option 'warning-as-error #f)
4
5 \header {
6   texidoc = "LilyPond does not support multiple concurrent phrasing slurs with the 
7 parentheses syntax.  In this case, warnings will be given and the nested
8 slur will not be generated.  However, one can can create a second slur with
9 a different spanner-id."
10 }
11
12 altPhSlur = #(make-music 'PhrasingSlurEvent 'span-direction START 'spanner-id "alt")
13 altPhSlurEnd = #(make-music 'PhrasingSlurEvent 'span-direction STOP 'spanner-id "alt")
14
15 \relative c'' { 
16   % This will give warnings ("Already have phrasing slur" and "Cannot end phrasing slur")
17   c4\(\( d4\)\( e4\) f\) |
18   % This will give two overlapping slurs:
19   d\(  d\altPhSlur e\) f\altPhSlurEnd |
20   
21 }