lilypond-user
[Top][All Lists]
Advanced

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

Re: string->number scheme


From: David Kastrup
Subject: Re: string->number scheme
Date: Wed, 13 Nov 2013 15:46:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stjepan Horvat <address@hidden> writes:

> ok..
>
> i would want to insert the tempo one time..inside the header block..and
> that it would apply to other tempo variables..
>
> \header {
> bpm = "123"
> }
>
> \relative c' {
>   \tempo = \bpm "%the header bpm variable
>  c'4
> }

First: it is impossible to guess what you want here since \tempo = "123"
would not be a valid command, and neither would be \tempo = 123.

Second: why do you have bpm defined inside of \header?  Header variables
are not visible in the score.

I just tried
bpm = 123

\relative c' {
  \tempo 4 = \bpm "%the header bpm variable
 c'4
}

and found out that variables are not permitted in this place.  Which is
probably an oversight rather than anything intentional.  Feel free to
file a bug report.  It might be quite simpler, however, just to write

bpm = \tempo 4 = 123

\relative c' {
 \bpm
 c'4
}

And can you _please_ _please_ _please_ stop appending the whole thing
you are replying to at the bottom of your mails?

-- 
David Kastrup



reply via email to

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