lilypond-user
[Top][All Lists]
Advanced

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

Re: Defining custom fretboards


From: Carl Sorensen
Subject: Re: Defining custom fretboards
Date: Tue, 21 Apr 2015 22:17:37 +0000
User-agent: Microsoft-MacOutlook/14.4.8.150116


On 4/21/15 1:38 PM, "James Worlton" <address@hidden> wrote:

>Hello,
>
>I am doing work for a client involving fretboard diagrams. He does not
>like that the default barred chords show the dots in between the
>outermost strings involved.
>
>Is there a way to turn off the dots "in the middle" of a barred fret?

Predefined fret diagrams use either the fret-diagram-terse format or the
fret-diagram-verbose format.  So if the terse format doesn't work, go for
verbose:

%%%%

\version "2.19.15"

#(define custom-fretboard-table-one (make-fretboard-table))
\storePredefinedDiagram #custom-fretboard-table-one
  \chordmode{f}
  #guitar-tuning
  #'(
      (barre 1 6 1)
      (place-fret 5 3 3)
      (place-fret 4 3 4)
      (place-fret 3 2 2)
      (place-fret 6 1 1)
      (place-fret 1 1 1))
  
names = {
   \chordmode {
     \set predefinedDiagramTable = #custom-fretboard-table-one
     f1
   }
}

fmajorchord = ^\markup { \fret-diagram #"c:6-1-1;6-1;5-3;4-3;3-2;1-1;" }

\score {
   <<
     \new ChordNames { \names }
     \new FretBoards { \names }
     \new Staff { f'1 }
     \new Dynamics { s1^"how I want it:" \fmajorchord }
   >>
}


%%%%


Your markup worked because it uses the fret-diagram format, which the
predefined fretboard diagrams can't use.

HTH,

Carl




reply via email to

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