lilypond-user
[Top][All Lists]
Advanced

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

Guitar Fret Diagram - scale degree below string


From: tone
Subject: Guitar Fret Diagram - scale degree below string
Date: Sat, 15 Aug 2015 19:16:41 -0700 (MST)

I would like to include the scale degree below each string in a fret diagram. 
For example, below the strings on the fret diagram for B13sus4 (at the 7th
fret) I would like to print "1 b7 4 13" (without the quotes).  (Would also
be nice to use the custom symbol for "flat", rather than lowercase "b".)

Lilypond only allows one to specify a simple "finger-code" under
"fret-diagram-details".

I am looking for the simplest solution, not necessarily the most efficient. 
I have scoured the web, and have not found a satisfying method to achieve
this.  Any help is appreciated.  Below is a minimal working example.

--------------------------------------------------
% Chord Chart.
% Want to add scale degree below strings.
% Example:  below the Db7#5#9 diagram there should be:  "3 b7 #9 #5"
(without the quotes).
%
\version "2.19.15"
\pointAndClickOff
%
\score { <<
\chords {
%{ B13sus4 %}   b:13sus4
%{ Db7#5#9 %}   des:7.5+.9+
}
%
\new Lyrics \lyricmode{
%{ B13sus4 %}   \markup{ \override #'(size . 1.5) \fret-diagram-terse
#"7;x;7;9;9;x;"}
%{ Db7#5#9 %}   \markup{ \override #'(size . 1.5) \fret-diagram-terse
#"x;8;9;9;10;x;"}
}
%
\chordmode {\clef "treble_8" \override Staff.TimeSignature #'stencil = ##f
%{ B13sus4 %}        <b, a e' aes'>
%{ Db7#5#9 %}        <f b e' a'> }
%
>> 
\layout {
 \context { \Lyrics
 \override LyricSpace #'minimum-distance = #1.5
 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
 \override LyricText #'self-alignment-X = #CENTER }
%
 \context { \ChordNames
 \override ChordName #'font-size = #1
 \override ChordName #'self-alignment-X = #CENTER
 \override ChordName #'X-offset =
#ly:self-alignment-interface::aligned-on-x-parent } }
}

ly:   ScaleDegree.ly
<http://lilypond.1069038.n5.nabble.com/file/n179664/ScaleDegree.ly>  
pdf:   ScaleDegree.pdf
<http://lilypond.1069038.n5.nabble.com/file/n179664/ScaleDegree.pdf>  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Guitar-Fret-Diagram-scale-degree-below-string-tp179664.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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