[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: completing a bar automatically with rests
From: |
David Kastrup |
Subject: |
Re: completing a bar automatically with rests |
Date: |
Wed, 05 Sep 2012 17:33:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Stefan Thomas <address@hidden> writes:
> I think it should be possible to type in something like
> \makerests 2/4. { c4. }
> or
> \makerests #2 #4. { c4. }
I'd rather go for \makerests 4.*2 { c4. } since 4.*2 is a valid
duration, can be parsed with a ly:duration? predicate and deconstructed
using ly:duration-log, ly:duration-dot-count, and ly:duration-scale.
Juggling with the required arithmetic is left as an exercise for the
reader.
--
David Kastrup