James <[email protected]> writes:

> On 3 March 2012 08:55, David Kastrup <[email protected]> wrote:
>> David Bobroff <[email protected]> writes:
>>
>>> I got a surprise when a cancelling accidental was printed at the
>>> beginning of a measure.  This happened following a cadenza.  Short
>>> example below:
>>>
>>>
>>> %%%
>>> \version "2.14.2"
>>>
>>> \relative c'
>>> {
>>>   \key c \major
>>>   \cadenzaOn
>>>   fis4 g a b
>>>   \cadenzaOff
>>>   \bar "|"
>>>   f
>>> }
>>> %%%
>>>
>>> Is this a bug?
>>
>> Don't think so.  \cadenzaOn switches off all timing (which is the whole
>> idea behind it).  Your whole example does not leave bar 1.
>
> I don't understand that. You can see 4 beats before the \cadenzaOff,

It does not matter how many beats you see before the \cadenzaOff.  The
whole point of the cadenza is that it does not count.

> while the manual bar doesn't change anything,

It creates a bar line where usually no bar line would be _because_ _a_
_cadenza_ _does_ _not_ _count_.

> \cadenzaOff comes before the *next* measure mean that he previous
> measure has been completed for the \cadenzaOn

No.  It means that we start counting again, and so far, we have not
counted a single beat because a cadenza does not count.

>> The manual
>> bar line does not change that.  You can probably write something like
>> << { \cadenzaOn fis4 g a b \cadenzaOff } \\ s1 >> if you want timing to
>> continue.
>>
>> Incidentally: your example does not look like a cadenza at all.
>
> No but it is a tiny example :)

You can make it tinier by omitting a few notes.  It is pointless and
misleading to put exactly 4 quarters in a cadenza since a cadenza does
not count.  I may have mentioned it.  But in case I forgot: a cadenza
does not count.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to