lilypond-user
[Top][All Lists]
Advanced

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

Re: transpose chords?


From: David Kastrup
Subject: Re: transpose chords?
Date: Mon, 25 Jun 2012 13:33:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

MING TSANG <address@hidden> 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




reply via email to

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