James <[email protected]> writes: > On 3 March 2012 09:11, David Kastrup <[email protected]> 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. -- David Kastrup _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
