[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defining custom fretboards
From: |
James |
Subject: |
Re: Defining custom fretboards |
Date: |
Tue, 21 Apr 2015 19:48:34 -0500 |
Thanks, Carl. This does what I'm looking for. Is this in the documentation? I
couldn't (and still can't) find it.
James Worlton
On Apr 21, 2015, at 17:17 , Carl Sorensen wrote:
>
>
> 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
>