lilypond-user
[Top][All Lists]

## Re: 2 muisc + tablature in 2 staves

 From: Grateful Frog Subject: Re: 2 muisc + tablature in 2 staves Date: Sun, 21 Dec 2008 19:06:21 +0100

Hi!

Thanks for those tips! I'm making great progress now, after having fought with both lilypond and tuxgutar for days!

Now I can see the chord names, the musics and the tab!

I didn't use the FretBoards because I couldn't see how to choose the chord variant?

My next question, is how to reduce the duplication? My code exaple is below. Is there a way of reducing the duplication of the notes in both staves, i.e. in the example "c1" ?

mychords = \chordmode { c1:7sus4 }
<<
\new ChordNames { \mychords }
\new Staff \relative c' {
c1  ^\markup \fret-diagram-terse #"x;5;5;5;x;x;"
}
\new TabStaff  \relative c'{
\set TabStaff.minimumFret = #6
c1
}
>>

ps. Je suis français, je me suis inscris dans le group fr! ;-)

On Sun, Dec 21, 2008 at 6:23 PM, Richard Schoeller wrote:
You might prefer to use FretBoards context in between the ChordNames and the Staff.  That way you will have the fret diagrams taken directly from your chord choices rather than having to enter the same information twice.

mychords = \chordmode { your chords }
```<<
\new ChordNames { \mychords }
\new FretBoards { \mychords }
\new Staff \relative c' { your music (with fret diagrams as \markups }
\new TabStaff { your tabs }
>>
```

Valentin Villenave wrote:
```2008/12/21 Grateful Frog <address@hidden>:

```
```I'm quite new to this tool and am trying to create sheet muisc for blues
guitar. I've been trying to use tuxguitar as the input tool and that works
pretty well except for one issue: It cannot seem to print the chord names
over the music (upper)  staff.
```
```Greetings,

you just have to use the appropriate contexts; in your case, that
would look like

<<
\new ChordNames \chordmode { your chords }
\new Staff \relative c' { your music (with fret diagrams as \markups }
\new TabStaff { your tabs }
```
```
Obviously, you will have to read the documentation since chords and
notes are entered using a specific syntax:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Chord-notation

If you speak French, you might also be interested in subscribing to
our French-speaking mailing list:
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

Cheers,
Valentin

_______________________________________________
lilypond-user mailing list