lilypond-user
[Top][All Lists]
Advanced

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

Re: aligning variables with upbeats


From: 智樂喬
Subject: Re: aligning variables with upbeats
Date: Thu, 7 Feb 2019 23:58:03 +0800

but it would likely not be
easy to implement properly.

That's what I figured… It's okay, I'll try what Mats and Kieren have suggested with the tags, and if that turns out to be more work than it's worth, then I can always just manually pad the variables with rests, I guess.

Thanks,

Randy

On Thu, Feb 7, 2019 at 11:52 PM David Kastrup <address@hidden> wrote:
智樂喬 <address@hidden> writes:

> I'd also like to avoid defining two variables, to keep things a little
> DRYer.
>
> What I imagine might be idea would be a function which works similarly to
> skip-of-length, but takes an argument to subtract a specified length from
> the variable. I imagined something like the following:
>
> #{skip-of-length (- (ly:length-of partA) (ly:make-moment 1/4))) \partB
>
> And then put that in a function to make it more compact and easy to use.

It won't give you multi-measure rests padded with ordinary rests.  It
might be a great addition to multi-measure rests if they self-padded
with ordinary rests for incomplete measures but it would likely not be
easy to implement properly.

--
David Kastrup

reply via email to

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