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
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user