[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting \tempo params
From: |
David Kastrup |
Subject: |
Re: Getting \tempo params |
Date: |
Thu, 21 Oct 2021 13:22:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Paolo Prete <paolopr976@gmail.com> writes:
> Hello,
>
> after a \tempo X = Y is set, is there a way (a scheme function or
> variable?) to get X and Y?
What does "after" mean and "is set"? At a later point in the source
text, at a later time in musical execution?
With regard to the latter (which you could access in callbacks or
\applyContext) \tempo sets the context variable tempoWholesPerMinute in
the Score context. How this relates to X and Y depends on the unit of
the beat. A reasonable guess is it is measured in baseMoment beats,
possibly multipled by the gcd of the values in beatStructure (if any).
At least that's what Time_signature_performer tries to state.
--
David Kastrup
- Getting \tempo params, Paolo Prete, 2021/10/21
- Re: Getting \tempo params,
David Kastrup <=
- Re: Getting \tempo params, Paolo Prete, 2021/10/21
- Re: Getting \tempo params, David Kastrup, 2021/10/21
- Re: Getting \tempo params, Paolo Prete, 2021/10/21
- Re: Getting \tempo params, David Kastrup, 2021/10/21
- Re: Getting \tempo params, Paolo Prete, 2021/10/21
- Re: Getting \tempo params, David Kastrup, 2021/10/21