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