lilypond-user
[Top][All Lists]
Advanced

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

Re: fretboard diagram : alignment issue


From: Carl Sorensen
Subject: Re: fretboard diagram : alignment issue
Date: Mon, 20 Dec 2010 22:30:01 -0700



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




reply via email to

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