[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: transpose chords?
From: David Kastrup <dak () gnu ! org>
Date: 2012-06-25 11:33:32
Message-ID: 87obo7tylv.fsf () fencepost ! gnu ! org
[Download RAW message or body]
MING TSANG <tsang94@rogers.com> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic