LEFT | RIGHT |
(no file at all) | |
1 \version "2.15.5" | 1 \version "2.15.5" |
2 | 2 |
3 #(ly:set-option 'warning-as-error #f) | 3 #(ly:set-option 'warning-as-error #f) |
4 #(ly:expect-warning (_ "already have slur")) | 4 #(ly:expect-warning (_ "already have slur")) |
5 #(ly:expect-warning (_ "cannot end slur")) | 5 #(ly:expect-warning (_ "cannot end slur")) |
6 | 6 |
7 \header { | 7 \header { |
8 texidoc = "LilyPond does not support multiple concurrent slurs with the· | 8 texidoc = "LilyPond does not support multiple concurrent slurs with the· |
9 parentheses syntax. In this case, warnings will be given and the nested | 9 parentheses syntax. In this case, warnings will be given and the nested |
10 slur will not be generated. However, one can can create a second slur with | 10 slur will not be generated. However, one can can create a second slur with |
11 a different spanner-id." | 11 a different spanner-id." |
12 } | 12 } |
13 | 13 |
14 altSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "alt") | 14 altSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "alt") |
15 altSlurEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "alt") | 15 altSlurEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "alt") |
16 | 16 |
17 \relative c'' { | 17 \relative c'' { |
18 % This will give warnings ("Already have slur" and "Cannot end slur") | 18 % This will give warnings ("Already have slur" and "Cannot end slur") |
19 c4(( d4)( e4) f) | | 19 c4( d( e) f) | |
20 % This will give two overlapping slurs: | 20 % This will give two overlapping slurs: |
21 d( d\altSlur e) f\altSlurEnd | | 21 d( d\altSlur e) f\altSlurEnd | |
22 | 22 |
23 } | 23 } |
LEFT | RIGHT |