lilypond-user
[Top][All Lists]
Advanced

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

Re: fretboard diagram : alignment issue


From: Marc Mouries
Subject: Re: fretboard diagram : alignment issue
Date: Tue, 21 Dec 2010 11:40:14 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 12/21/2010 12:30 AM, Carl Sorensen wrote:


On 12/20/10 8:47 PM, "Marc Mouries" <address@hidden> wrote:

Hi Lilyponders,

I am trying to generate a chord chart for Violin and i have an alignment
problem.

I want to include the different possibilities of playing a chord and
thus i can't use the command storePredefinedDiagram and thus can't use a
FretBoard like this

\score {
   <<
     \new ChordNames { ...    }
     \new Staff { ... }
     \new FretBoards { }

          
}
Actually, you *can* use storePredefinedDiagram.

The syntax is slightly different from 2.12 and 2.13

But since your chords have different names, you'll just do something like
(2.12 syntax):

\storePredefinedDiagram  <d' a' fs''>
                         #violin-tuning
                        #"x;o;o;2-1;"
\storePredefinedDiagram  <d' fs' d''>
                         #violin-tuning
                        #"7-4;4-2;5-3;x;"
\storePredefinedDiagram  <d' c'' fs''>
                         #violin-tuning
                         #"x;o;3-2;2-1;"

<<
  \new ChordNames { \chordmode {d1 d1:7}}
  \new Staff { <d' a' fs''>2 <d' fs' d''>2 <d' c'' fs''>1 }
  \new FretBoards {  <d' a' fs''>2 <d' fs' d''>2 <d' c'' fs''>1 }
  

You don't need to use a chordmode definition for the key to the fretboard;
you just need to have some kind of music that will be the same.


HTH,

Carl

P.S. In 2.14.43 we have alternate fretboard tables, so you can change the
table and have different fretboards for the same chord.  But I don't think
that would help you here, because you have chords in the staff that wouldn't
work with the ChordNames

I am using 2.13.43-1 and i get an error with your code.

/pb with chords on the Violin.ly:16:24: error: syntax error, unexpected <
\storePredefinedDiagram
                        <d' a' fs''>

Where can i find the doc for 2.13 for the fret diagram?

reply via email to

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