lilypond-user
[Top][All Lists]
Advanced

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

Re: how to created related tempo marks


From: David Kastrup
Subject: Re: how to created related tempo marks
Date: Sat, 09 Jun 2018 15:15:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Thomas <address@hidden> writes:

> Dear community,
> I would like to create related tempo marks. For example, in bar 1 I would
> like to have a tempo 4=60, some bars later tempo 4=90.
> The tempi are in the proportion 3/2. I would like to write something like
>
>> TempoA = {\tempo 4 =60}
>> TempoB = \TempoA*1.5
>>
> I want to create a midi-file with metronome clicks of a piece with many
> time signature and tempo changes and I want to practise with this file. I
> want to be able to practise in different tempi and I don't want to retype
> all the tempo changes again and again.
> Is it possible to define tempo-relations in scheme?

You can try for something like

\context Timing
\applyContext #(lambda (c)
                 (set! (ly:context-property c 'tempoWholesPerMinute)
                       (* 3/2 (ly:context-property c
                       'tempoWholesPerMinute))))

which is a Midi-only way of doing this.

-- 
David Kastrup



reply via email to

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