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: Carl D. Sorensen
Subject: Re: 2 muisc + tablature in 2 staves
Date: Sun, 21 Dec 2008 13:11:47 -0700



On 12/21/08 12:26 PM, "Grateful Frog" <address@hidden> 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?

It's easy.  You want to use the FretBoards context for your FretBoards.

\storePredefinedDiagram \chordmode { c1:7sus4 }
                         #guitar-tuning
                         "x;5;5;5;x;x;"
\storePredefinedDiagram \chordmode {d}
                        #guitar-tuning
                       "3;5;5;4;3;3;"

mynotes = {
  c2 c2 g'4 g4 g4 g4 d1
}
 
mychords = \chordmode { c1:7sus4 r1 d1 }

 <<
   \new ChordNames { \mychords }
   \new FretBoards { \mychords }
   \new Staff \relative c' { \mynotes }
   \new TabStaff  \relative c'{
      \mynotes
   }
 >>


If you haven't read the Learning Manual for 2.11, please do so -- it'll help
you.

If you have, you can learn more about the guitar functions in the Notation
Reference, under the section on Fretted Strings.

Thanks,

Carl

> 
> In all events, THANKS for all the help!
> GF





reply via email to

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