Hi Frederico,
On 13.10.2013, at 18:35, Federico Bruni <[email protected]> wrote:

> The default chord is derived from the shape of bes:7, so it requires a barré.
> But there's also a handy shape in first position. Shouldn't this be the 
> default?
> 
> I've tried to change the definition but there's something wrong, see below:
> 
> \version "2.17.27"
> \include "predefined-guitar-fretboards.ly"
> 
> \storePredefinedDiagram #default-fret-table \chordmode {b:7}
>                         #guitar-tuning
>                         %#(offset-fret 1 (chord-shape 'bes:7 guitar-tuning))
>                         #"x;2-2;1-1;2-3;o;2-4"
Leave out the hash and it should work:
\storePredefinedDiagram #default-fret-table
                       \chordmode { b:7 }
                       #guitar-tuning
                       "x;2-2;1-1;2-2;o;2-4;" 

hth
patrick
> 
> chordsGuitar = \chordmode {
>   b:7
> }
> 
> \score {
>   <<
>     \new ChordNames \chordsGuitar
>     \new FretBoards \chordsGuitar
>   >>
> }
> 
> % the change above is not working as expected
> % this is what I'm trying to produce:
> \markup { \fret-diagram #"6-x;5-2;4-1;3-2;2-o;1-2;" }
> 
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to