|
From: | Grateful Frog |
Subject: | Re: 2 muisc + tablature in 2 staves |
Date: | Sun, 21 Dec 2008 22:06:02 +0100 |
It's easy. You want to use the FretBoards context for your FretBoards.
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?
\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 Staff \relative c' { \mynotes }
\new FretBoards { \mychords }
\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
[Prev in Thread] | Current Thread | [Next in Thread] |