>
> *Valentin:*
>
If you really want to keep your variables separate, you’ll have to use
> simultaneous music instead of sequential expressions :
>

That's what I was afraid of…

{\oneVoice s1*15/4 \partB}
>

I'd like to avoid having to count bars/beats because it's kind of
inefficient and makes using variables in this way a lot more clumsy and
prone to error.

*David:*
>
I'd rather just have two versions of partA, one before an upbeat and one
> not.
>

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.

Randy
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to