On 5/5/09 9:03 PM, "Victor Eijkhout" <vic...@eijkhout.net> wrote:
> This looks really bad:
>
> harpchords = \relative c' { \time 15/8
> s2^"C" s2^"G/B" s2^"Am" s4. | s2^"Cmaj7/B" s2^"Em/G" s2^"F" s4. |
> s2^G s2^"F/A" s2^"G/B" s4. | s2^"Dm/A" s2^"Dm/F" s2 s4. |
> \repeat volta 2 {
> s2^C s2^"G/B" s2^"Am" s4.^"Am/G#" | s2^"Cmaj7/G" s2^"Em" s2^F
> s4.^"Bb/F" |
> s2^G s2^"F/A" s2^"G/B" s4.^"Fdim/G#" | s2^"Am" s2^F s2 s4. |
> } s2^"C"
> }
>
> \score {
> \new Staff { \set Staff.instrumentName = "Harp" \harpchords }
> }
>
> Should it look better, or am I using the wrong mechanism?
Why not use a ChordNames context? As you have written this, the chords are
just text, not really music elements.
If I were writing this, I think I'd write it as:
harpchords = \relative c' \chordmode {
\time 15/8
c2 g/b a:m s4. |
c2:maj7/b e:m/g f s4. |
...
}
\score {
<<
\new ChordNames \harpchords
\new Staff {
\set Staff.instrumentName = "Harp"
\harpchords
}
>>
}
Of course, this will set the notes as well as the chord names, which you may
not want to have.
Thanks,
Carl
>
> Victor.
>
>
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user