lilypond-user
[Top][All Lists]
Advanced

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

Re: doc work


From: Carl D. Sorensen
Subject: Re: doc work
Date: Fri, 15 Aug 2008 15:23:38 -0600



On 8/15/08 3:16 PM, "Neil Puttock" <address@hidden> wrote:

> 2008/8/15 Graham Percival <address@hidden>:
>
>> In fact, what about instead of
>>  \midi{}
>> we do
>>  \midi { \tempo 4 = 60 }
>>
>> ?  That doesn't add any vertical length to the templates, but it
>> gives midi output (which can be very important for inexperienced
>> composers), and even gives a hint about how to change the tempo.
>
> Unfortunately, you can't put \tempo inside a \midi block any more.
>
> It doesn't look so user-friendly once you have to start using context
> properties and moments:
>
> \midi {
>   \context {
>     \Score
>     tempoWholesPerMinute = #(ly:make-moment 60 4)
>   }
> }
>

Maybe this is a good reason to include it in a midi block of a template,
along with a comment that the 60 is beats per minute, and the 4 is a quarter
note.  From that comment, people could probably change the tempo however
they liked it, and they'd never need to learn the syntax themselves.[1]

Carl

1.  Of course, as Bertalan would point out, this all happens automatically
in LilyPondTool.  But people who use LilyPondTool probably don't need the
templates anyway; LPT creates its own templates.





reply via email to

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