lilypond-user
[Top][All Lists]
Advanced

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

Re: indicating rhythmic equivalence


From: David Kastrup
Subject: Re: indicating rhythmic equivalence
Date: Sat, 17 Dec 2022 21:07:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

David Kastrup <dak@gnu.org> writes:

> Jean Abou Samra <jean@abou-samra.fr> writes:
>
>> Le 17/12/2022 à 18:53, Paul Scott a écrit :
>>> A typical indication of rhythmic equivalence is to mark dotted
>>> quarter = quarter or it's many variations.
>>>
>>> The following is a simple modification of an example in 2.24.0 NR
>>> 1.3.3: Metronome marks.  I would think the part I added would give
>>> me the notation: quarter = dotted quarter.
>>>
>>> Any ideas?
>>>
>>
>> The problem and the solution are mentioned in the documentation.
>>
>> https://lilypond.org/doc/v2.24/Documentation/notation/music
>
> Frankly, I'd expect this use case to be frequent enough that there is no
> point in documenting rather than fixing it.  Using a
> `duration-or-music?` predicate along with a line of the kind
>
> (if (ly:duration? music)
>     (set! music (make-music 'NoteEvent 'duration music)))
>
> at the start of the markup command definition should do the trick.

I'll make a pitch at it.

-- 
David Kastrup



reply via email to

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