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: Grateful Frog
Subject: Re: 2 muisc + tablature in 2 staves
Date: Sun, 21 Dec 2008 20:26:41 +0100

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?

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

On Sun, Dec 21, 2008 at 8:01 PM, Richard Schoeller <address@hidden> wrote:
There are some examples scattered throughout the documentation.  However, there is not a single complete description.  In any case, you can define alternative chord shapes with this sort of syntax:

\addChordShape #'csevsmall #"x;3-3;2-2;3-4;1-1;o;"

You can then apply those to a specific chord with:

\storePredefinedDiagram \chordmode {c':7}
                      #guitar-tuning
                      #(chord-shape 'csevsmall)

Notice, that I associated this with an octave shifted version of the chord.  If you want to write notes mode, you could associate a specific fingering with a specific combination of notes.  There are a number of alternatives that work quite well.

Dick

Grateful Frog wrote:
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
   }
 >>

Thanks for all your help!
ps. Je suis français, je me suis inscris dans le group fr! ;-)

On Sun, Dec 21, 2008 at 6:23 PM, Richard Schoeller <address@hidden <mailto:address@hidden>> 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> <mailto: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
   address@hidden <mailto:address@hidden>




--
50°48'39.85"N  4°25'20.29"E




--
50°48'39.85"N  4°25'20.29"E

reply via email to

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