lilypond-user
[Top][All Lists]
Advanced

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

Re: tempo percentage


From: Mark Knoop
Subject: Re: tempo percentage
Date: Wed, 8 Nov 2017 15:26:19 +0000

At 14:14 on 08 Nov 2017, Gianmaria Lari wrote:
>Talking about midi, is there any way to to reduce or increase the
>tempo of some measures by a certain percentage instead of setting it
>to an absolute value?
>
>For example instead of:
>
>\tempo 4=100 a b c d
>\tempo 4=110 e f g a
>
>
>something like
>
>\tempo 4=100 a b c d
>\tempo 4=currentTempo*1.1 e f g a


baseTempo = 100

\relative c' {
  \tempo 4 = #baseTempo
  a b c d
  \tempo 4 = #(inexact->exact (round (* baseTempo 1.1)))
  e f g a
}


-- 
Mark Knoop



reply via email to

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