[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to create empty fret diagrams
From: |
PianoguitarGuy |
Subject: |
How to create empty fret diagrams |
Date: |
Sat, 13 Aug 2011 02:50:32 -0700 (PDT) |
This is quite easy. You just make a fret diagram with a specified number of
frets and a specified number of strings, with all the strings open. You
then need to set the open-string indicator to " ".
Here's a sample:
%% start of cut and paste code
\version "2.11.64"
\storePredefinedDiagram \chordmode{c''}
#guitar-tuning
#"o;o;o;o;o;o;"
<<
\new FretBoards {
\override FretBoard #'fret-diagram-details #'open-string = #" "
\override FretBoard #'fret-diagram-details #'fret-count = #6
\chordmode {
\repeat unfold 10 { c''1}
}
}
\context Staff {
\repeat unfold 10 {s1}
}
>>
%% end of cut and paste code
\version "2.12.3"
\include "predefined-guitar-fretboards.ly"
\include "english.ly"
\addChordShape #'NoTriad
#guitar-tuning
#'(
(place-fret 6 0 " ")
(place-fret 5 0 " ")
(place-fret 4 0 " ")
(place-fret 3 0 " ")
(place-fret 2 0 " ")
(place-fret 1 0 " ")
)
\storePredefinedDiagram #default-fret-table \chordmode{ c'' }
#guitar-tuning
#(chord-shape 'NoTriad guitar-tuning)
<<
\new FretBoards {
\override FretBoard #'fret-diagram-details #'open-string = #" "
\override FretBoard #'fret-diagram-details #'fret-count = #6
\chordmode {
\repeat unfold 10 {c''1}
}
}
\context Staff {
\repeat unfold 10 {s1}
}
>>
I saw this post about how to create empty fret diagrams but it didn't work
for me it produced 10 C major chords.
So I modified it to get it to work
Thanks and hope this helps someone else...
--
View this message in context:
http://old.nabble.com/How-to-create-empty-fret-diagrams-tp32255312p32255312.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to create empty fret diagrams,
PianoguitarGuy <=