lilypond-user
[Top][All Lists]
Advanced

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

Re: 2 muisc + tablature in 2 staves


From: M Watts
Subject: Re: 2 muisc + tablature in 2 staves
Date: Mon, 22 Dec 2008 08:09:58 +1000
User-agent: Thunderbird 2.0.0.18 (X11/20081105)

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





reply via email to

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