On 8/15/08 3:16 PM, "Neil Puttock" <[EMAIL PROTECTED]> wrote:

> 2008/8/15 Graham Percival <[EMAIL PROTECTED]>:
>
>> 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.



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

Reply via email to