[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheme variable for tempo
From: |
Neil Puttock |
Subject: |
Re: scheme variable for tempo |
Date: |
Tue, 27 Jul 2010 21:42:25 +0100 |
On 27 July 2010 21:30, Neil Puttock <address@hidden> wrote:
> Oops, this should read
>
> ly:context-set-property!
OK, let's try once more. :)
I promise it'll work this time:
\score {
\relative c' {
\tempo 4 = 60
c4 c c c
c4 c c c
\context Timing
\applyContext
#(lambda (ctx)
(let ((wholes (ly:context-property ctx 'tempoWholesPerMinute)))
(ly:context-set-property! ctx 'tempoWholesPerMinute
(ly:moment-mul wholes
(ly:make-moment 4 3)))))
c4 c c c
c4 c c c
}
\midi {}
}
Cheers,
Neil