MING TSANG <[email protected]> writes:
> Here is the sample code.
> %%%%%%%%%%%%%%%%%%start
> \markup { \line {"<< transpose g d >>"}}
> \score {
>
> \new ChoirStaff <<
>
> <<
> \context ChordNames {
> \harmonies
> }
>>>
>
> \new Staff << \transpose g d
> \new Voice = "soprano" << {
> \global
> { \sopranoA }
> }
> >>
>
> >>
>>>
> \layout { }
> }
> %%%%%%%%%%%%%%%end
If you don't transpose the harmonies, they have no particular reason to
change. In current LilyPond (2.15.reasonablynew) , you can write
something like
target = g
and then write
\transpose g \target { ... }
everywhere you need it.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user