[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fret diagrams with no staffs
From: |
Carl Sorensen |
Subject: |
Re: fret diagrams with no staffs |
Date: |
Fri, 1 Nov 2013 02:56:17 +0000 |
User-agent: |
Microsoft-MacOutlook/14.3.8.130913 |
On 10/31/13 8:47 AM, "Renato" <address@hidden> wrote:
>However I have not been able to (due to my superficial knowledge of
>lilypond and snippets dealing with "chord diagrams over a
>staff" scenario):
>1) use fret-diagram-details to set the various parameters it offers. It
>would be best to set this once and for all instead of for every single
>chord
For \markup fret diagrams, you override the fret-diagram-details property
of a TextScript object (see
http://lilypond.org/doc/v2.16/Documentation/snippets/fretted-strings
Customizing markup fret diagrams):
\override TextScript #'(fret-diagram-details . (
(finger-code . below-string)
(number-type . arabic)
(label-dir . -1)
(mute-string . "M")
(orientation . landscape)
(barre-type . none)
(xo-font-magnification . 0.4)
(xo-padding . 0.3)))
>2) Display names on top of chords
For this, you probably don't want to use \markup fret diagrams.
You probably just want to create a score with a ChordNames context and a
FretBoards context, as is demonstrated in
<http://lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-f
retted-strings#predefined-fret-diagrams> :
\include "predefined-guitar-fretboards.ly"
mychords = \chordmode{
c1 f g
}
<<
\context ChordNames {
\mychords
}
\context FretBoards {
\mychords
}
>>
Hope this helps,
Carl