[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: aligning variables with upbeats
From: |
David Kastrup |
Subject: |
Re: aligning variables with upbeats |
Date: |
Thu, 07 Feb 2019 16:52:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
智樂喬 <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
Re: aligning variables with upbeats, Gianmaria Lari, 2019/02/07
Re: aligning variables with upbeats, Mats Bengtsson, 2019/02/07
Re: aligning variables with upbeats, Kieren MacMillan, 2019/02/07
Re: aligning variables with upbeats, Pedro Pessoa, 2019/02/12