lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning: already have a volta spanner, ending that one prematurely


From: Federico Bruni
Subject: Re: warning: already have a volta spanner, ending that one prematurely
Date: Thu, 11 Feb 2016 10:03:05 +0100

Il giorno mer 10 feb 2016 alle 23:50, Thomas Morley <address@hidden> ha scritto:
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.

Ok, I understand


  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

Yes, I was in a hurry and didn't read carefully all the examples.

Thanks
Federico






reply via email to

[Prev in Thread] Current Thread [Next in Thread]