Setting up predefined fretboards for other instruments: Difference between revisions
m New category |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Predefined fret diagrams can be added for new instruments in addition to the | Predefined fret diagrams can be added for new instruments in addition to the standard diagrams used for guitar. This file shows how this is done by defining a new string tuning and a few predefined fretboards for the Venezuelan ''cuatro''. | ||
This file also shows how fingerings can be included in the chords used as reference points for the chord lookup, and displayed in the fret diagram and the <code>TabStaff</code>, but not the music. | This file also shows how fingerings can be included in the chords used as reference points for the chord lookup, and displayed in the fret diagram and the <code>TabStaff</code>, but not the music. | ||
| Line 6: | Line 6: | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
% | % Add fretboards for the cuatro. | ||
% | |||
% Note: This section could be put into a separate file | % Note: This section could be put into a separate file | ||
% | % `predefined-cuatro-fretboards.ly` | ||
% | % and be \included into each of your compositions. | ||
cuatroTuning = #`(,(ly:make-pitch 0 6 0) | cuatroTuning = #`(,(ly:make-pitch 0 6 0) | ||
,(ly:make-pitch 1 3 SHARP) | ,(ly:make-pitch 1 3 SHARP) | ||
,(ly:make-pitch 1 1 0) | |||
,(ly:make-pitch 0 5 0)) | |||
dSix = { <a\4 b\1 d\3 fis\2> } | dSix = { <a\4 b\1 d\3 fis\2> } | ||
| Line 38: | Line 39: | ||
"2-2;o;1-1;o;" | "2-2;o;1-1;o;" | ||
% | % End of potential include file `predefined-cuatro-fretboards.ly`. | ||