2016-02-10 22:54 GMT+01:00 Federico Bruni <[email protected]>:
> Hi all
>
> Do you know why the following input causes this warning?
> There's anything I can do to avoid it?
>
> \version "2.19.35"
> \relative {
> c'1
> \set Score.repeatCommands = #'((volta "1"))
> d'1
Here you try to end the volta-spanner:
> \set Score.repeatCommands = #'((volta #f))
>
Here you try to begin a new volta-spanner:
> \set Score.repeatCommands = #'((volta "2"))
Both commands are set at the same musical moment, conflict! So Lily
tries to makes any sense of your input and throws a warning.
> f1
> \set Score.repeatCommands = #'((volta #f))
> }
`repeatCommands' expects a list. So put all stuff in _one_ list:
\relative {
c'1
\set Score.repeatCommands = #'((volta "1"))
d'1
\set Score.repeatCommands = #'((volta #f) (volta "2") end-repeat)
f1
\set Score.repeatCommands = #'((volta #f))
}
As shown in the NR ;)
http://www.lilypond.org/doc/v2.19/Documentation/notation/long-repeats#manual-repeat-marks
Cheers,
Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user