]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/predefined-fretboards.ly
Make the length of beamlets configurable.
[lilypond.git] / input / regression / predefined-fretboards.ly
1 % add a chord shape
2 \version "2.11.56"
3
4 \addChordShape #'bes #"x;1-1-(;3-2;3-3;3-4;1-1-);"
5
6 % add chords
7
8 \storePredefinedDiagram \chordmode {bes}
9                         #guitar-tuning
10                         #(chord-shape 'bes)
11
12 \storePredefinedDiagram \chordmode {c}
13                         #guitar-tuning
14                         #(offset-fret 2 (chord-shape 'bes))
15
16 mychords = \chordmode {
17   bes
18 }
19
20 chordline = {
21   \mychords
22   \transpose bes c {
23     \mychords
24   }
25 }
26
27 <<
28   \context ChordNames {
29     \chordline
30   }
31   \context FretBoards {
32     \chordline
33   }
34 >>