bug-lilypond
[Top][All Lists]
Advanced

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

Re: unexpected accidental following cadenza


From: David Bobroff
Subject: Re: unexpected accidental following cadenza
Date: Sat, 03 Mar 2012 13:34:54 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 3/3/2012 10:17 AM, David Kastrup wrote:
James<address@hidden>  writes:

On 3 March 2012 09:11, David Kastrup<address@hidden>  wrote:

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.
:)

I am guessing then that the expectation of David B was that as soon as
you turn off the cadenza, then it should act as if the (in this
example) new measure would be like the first measure of the piece
proper. Hence the question about why the natural sign is printed.
Because the cadenza had a sharp here and this needs to get cancelled.

I understand that cadenzas turn of 'everything' (so to speak)
No.  They turn off the counting.

and that they 'don't count', but why would I expect a 'cancelling'
sign at all for the first note after a cadenza?
Because the cadenza contained a sharp?

I guess what really is involved here is the expectation that a manually
painted \bar "|" will be a bar threshold for the purpose of accidentals.
That would make some sense and might be the topic of a feature request.

But so far, \bar "|" paints a bar.  Nothing else.  If you think that a
bar is missing for some reason and add it in that manner instead of
correcting the timing, you get a picture of a bar.  Not more, not less.
It might be a reasonable expectation that the picture of a bar is enough
for triggering accidental behavior.  That would be an issue request.

But everything else is just a misunderstanding of what a cadenza is, and
what \bar "|" does.

Only 'stuff' between \cadenzOn and \cadenzaOff should ignore the
'rules' but everything outside of the \cadenza[On|Off] should revert
back.

So f-natural in a cmajor key outside of the \cadenza[On|Off] would not
be shown with a cancellation mark.

It is counter intuitive.
No, it is correct.  Leave off the \bar "|" and look at the result.  Do
you still feel that the natural is "counterintuitive"?  I bet you don't.
So your purported bug report or issue or request has nothing to do with
cadenzas.  It is that you think that a manually placed bar line should
trigger the accidental rules for a measure change.


OK, I'm the one who posted the snippet and the original question: Is it a bug? Now, I have my answer to that. Yes, my snippet was short in order not to get yelled at for too long an example. Perhaps it was misleading. In the actual environment it is a real cadenza of some length which is beyond a full measure and does not occur in the first measure. I expected that adherence to the key signature and normal accidental rules would take over again once the cadenza had ended and I had "painted" a bar line. Obviously I was mistaken.

My question now is: What is the proper incantation to issue so that LilyPond will understand that a bar line has been crossed and that the cadenza (which is now over) is now over?

-David



reply via email to

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