Grateful Frog wrote:
Thanks for that bit!

I'm sorry if I'm asking so many noobie questions, but my question is not so much about the chords, but about the notes.

In the example below, you see that I have to type the same notes in both staves, i.e. c2 c2 g'4 g4 g4 g4 d1. I'm trying to find a way of replacing that by a single definition of the notes. Any ideas?

You don't have to type the duration all the time -- lily remembers the last-entered duration until you change it, so you can just do: c2 c g4 g g g d1 etc.

mychords = \chordmode { c1:7sus4 r1 d1 }
cSevenSusFour = ^\markup \fret-diagram-terse #"x;5;5;5;x;x;"
gMajor = ^\markup \fret-diagram-terse #"3;5;5;4;3;3;"
<<
  \new ChordNames { \mychords }
  \new Staff \relative c' {
    c2  \cSevenSusFour c2
    g'4 g4 g4 g4
    d1 \gMajor
  }
  \new TabStaff  \relative c'{
    c2 c2
    g'4 g4 g4 g4
    d1
  }
>>

In all events, THANKS for all the help!
GF
http://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to