2013/11/9 Frederick Bartlett <[email protected]>:
> (I would like a way to \transpose all voices in a piece
> with a single command rather than putting an individual \transpose on each
> voice.)
>
> Also, the snippet is quite simplified; I really do need the two-voice
> construct. The actual treble clef's first measure is
>
> << { \appoggiatura { g16 ([a] } \voiceOne g4) (c8 g) a4 (b) } \\ {
> \appoggiatura { s8 }<g e>2 <f c>4 <g d>} >>
>
> where the \voiceOne is need to prevent warnings about too many clashing note
> columns (which I also don't understand, but it does work, more or less).
Hi,
how about:
\version "2.16.2"
global = {
\time 2/4
\key c\major
}
m =
\relative c''' {
\global
\slurUp
\appoggiatura { g16 ([a] } \voiceOne g4 c8 g) a4( b)
}
n =
\relative c''' {
\global
\grace s8
\voiceTwo <g e>2 <f c>4 <g d>
}
\version "2.16"
\score {
\transpose c des
<<
\new StaffGroup <<
\new Staff <<
\new Voice \m
\new Voice \n
>>
\new Staff <<
\new Voice \m
\new Voice \n
>>
>>
\new StaffGroup <<
\new Staff <<
\new Voice \m
\new Voice \n
>>
\new Staff <<
\new Voice \m
\new Voice \n
>>
>>
>>
}
Demonstrating how to use \transpose for _all_ music of a score.
Using real, proper initialized Voices instead of << \\ >>. There are
to many issue with it, to use it for more than a _real_ _short_
section of music, imho.
Also issue 630
http://code.google.com/p/lilypond/issues/detail?id=630#c25
is triggered by your code. My coding avoids/workarounds it.
HTH,
Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user