Hello, On 9 April 2012 11:03, Thomas Morley <thomasmorle...@googlemail.com> wrote: > Am 9. April 2012 04:26 schrieb James Harkins <jamshar...@gmail.com>: >> At Sun, 8 Apr 2012 09:39:13 -0500, >> David Nalesnik wrote: >>> Hi James, >>> Possibly the following thread will be useful to you: >>> http://www.mail-archive.com/lilypond-user@gnu.org/msg68492.html >> >> Thanks, this is a lot closer. (By the way, it seems that mail-archive is on >> the wrong side of the Great Firewall of China -- not a big deal, but it did >> make it less convenient to access the link. Speaking just for myself, I'd >> prefer links to gmane or nabble archives.) >> >> It's "closer" -- I'm now getting bar check failures only at the ends of the >> two cadenzas, where I think I was getting more of them before. But, it's >> still failing and the multi-measure rests are drawn in the wrong place. >> >> So, a more illustrative example, using actual notes from my piece and >> replicating the context (one bar of cadenza, one metered bar, and another >> bar of cadenza). >> >> It looks to me like time advances the correct number of beats, but LP >> doesn't recognize that it should roll over to the next bar at that point. >> I'm guessing that for each cadenza + following-bar pair, where there should >> be two full-bar rests, only one is being drawn (probably the first one, for >> the cadenza) and the other one is being dropped because of the bar check >> failure. Then it draws the single full-bar rest in the middle of the span >> for /both/ bars. >> >> It doesn't help to include an explicit \bar "|" after the \cadenzaToMusic >> calls. >> >> LP output. For debugging I restored the (format...) call, which shows that >> the duration of both cadenzas is being calculated correctly. > > Hi James, > > the cadenzaToMusic-function _replaces_ \cadenzaOn and \cadenzaOff. > If you delete these commands it works and there is no need for manual bars:
Thanks Thomas, I have added this snippet to the LilyPond Snippet Repository - awaiting approval. James _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user