On 2024-02-01 7:36 am, David Hobach wrote:
Hi all,
I'd like to compute the \tempo directive from variables, but couldn't
yet figure out how to do it.
For example, let's say I have two variables such as
myTempoBase = 4
myTempo = 80
Then I'd like to do something such as
global = {
\key c \major
\time 4/4
\tempo \myTempoBase = \myTempo
}
I'd expect it to resolve to \tempo 4 = 80. The above code however fails
on 2.24.1.
Any ideas?
%%%%
myTempoBase = ##{ 4 #}
%%%%
That seems to work. Otherwise, myTempoBase is just a number and not a
duration.
-- Aaron Hill