lilypond-user
[Top][All Lists]
Advanced

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

Re: Tempo arguments


From: David Kastrup
Subject: Re: Tempo arguments
Date: Mon, 18 Jul 2022 00:50:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jean Abou Samra <jean@abou-samra.fr> writes:

> Le 18/07/2022 à 00:35, David F. a écrit :
>> \tempo 4 = 90
>>
>> How is tempo able to take ‘4 = 90’ as an argument?  Is this
>> hardwired into the language or can any function take ‘x = y’ as an
>> argument?
>
> It is hardwired. Music functions cannot take arguments with '='.

Similar with \override and \set .  It would be nice to turn them into
some kind of music function, but so far I've come up short with ideas
for sensible implementation semantics.

\tempo has the additional complication that both

\tempo "Allegro"

and

\tempo "Allegro" 4 = 90

are valid commands.

-- 
David Kastrup



reply via email to

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