Re: indicating rhythmic equivalence

2022-12-17 Thread Paul Scott
FWIW (probably not much), I'm quite happy with the simple solution of 
the extra curly brackets.


Paul


On 12/17/22 5:30 PM, Jean Abou Samra wrote:

Le 17/12/2022 à 21:07, David Kastrup a écrit :

I'll make a pitch at it.



My original rationale is open for discussion, but there was one; see
https://gitlab.com/lilypond/lilypond/-/merge_requests/1761#note_1213670108 








Re: indicating rhythmic equivalence

2022-12-17 Thread Jean Abou Samra

Le 17/12/2022 à 21:07, David Kastrup a écrit :

I'll make a pitch at it.



My original rationale is open for discussion, but there was one; see
https://gitlab.com/lilypond/lilypond/-/merge_requests/1761#note_1213670108




OpenPGP_signature
Description: OpenPGP digital signature


Re: indicating rhythmic equivalence

2022-12-17 Thread David Kastrup
David Kastrup  writes:

> Jean Abou Samra  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



Re: indicating rhythmic equivalence

2022-12-17 Thread David Kastrup
Jean Abou Samra  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.

-- 
David Kastrup



Re: indicating rhythmic equivalence

2022-12-17 Thread Paul Scott

Thank you,

Paul


On 12/17/22 10:57 AM, Jean Abou Samra wrote:



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

Best,
Jean






Re: indicating rhythmic equivalence

2022-12-17 Thread Jean Abou Samra



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

Best,
Jean




OpenPGP_signature
Description: OpenPGP digital signature