Stefan Thomas <kontrapunktste...@gmail.com> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to