lilypond-user
[Top][All Lists]
Advanced

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

Re: using "\transpose" with variables


From: Roland Goretzki
Subject: Re: using "\transpose" with variables
Date: Thu, 6 Sep 2007 04:02:14 +0200
User-agent: Mutt/1.5.9i

Hello list, hello Tomas,

You wrote:

> Hi,
> I try to use \transpose with a variable as parameter like
> 
> mykey = {d'}
> 
> melody = \transpose c' \mykey 
>          \relative c' {... }
> 
> what??s wrong?
> 
> I get the message: 
> syntax error, unexpected STRING, expecting NOTENAME_PITCH or TONICNAME_PITCH
>  melody = \transpose c' 
>                         mykey

Incorrect syntax.
Have a look at the documentation at 6.1.8 Transpose:

  \transpose c g' \mykey

which means:

  transpose from c to c' the music defined in \mykey

Hope that will help!

Best Regards           Roland




reply via email to

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