lilypond-user
[Top][All Lists]
Advanced

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

Re: Tempo mark (MM) range


From: Cameron Horsburgh
Subject: Re: Tempo mark (MM) range
Date: Fri, 23 Mar 2007 13:47:10 +1100
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Mar 22, 2007 at 10:33:52PM -0400, Kieren MacMillan wrote:
> Hi, Ralph:
> 
> >I'm trying to get a quarter note, followed by an equals sign ("="),
> >followed by a range ("92-100").
> 
> I use this macro:
> 
>     tempoMark =
>       #(define-music-function (parser location prependText notevalue  
> appendText) (string? string? string?)
>               #{
>                       \mark \markup
>                       { \line { $prependText " (" \fontsize #-2 
>                       \general-align #Y #DOWN  \note #$notevalue #1 
> $appendText ) } }
>               #})
> 
> Then in my score, I put (e.g.)
> 
>     \tempoMark "Fast" "4" "= 220-222"
> 
> which gives
> 
>     Fast (q = 220-222)
> 
> where "q" is a quarter note.
> 
> Of course, you can adjust the exact output (e.g., remove the  
> parentheses) in the Scheme code, to suit your needs.
> 
> Hope this helps!
> Kieren.
> 
> 
Kieren, would you be willing to submit this to the LSR?

-- 

=============================================
Cameron Horsburgh

=============================================





reply via email to

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