]> git.donarmstrong.com Git - lilypond.git/blob - input/test/tablature.ly
jiba, mats
[lilypond.git] / input / test / tablature.ly
1 \version "1.3.146"
2
3 %{
4
5 A sample tablature, with both normal staff and tab.
6
7 Tablature is done by overriding the note-head formatting function, and
8 putting it on a 6-line staff. A special engraver takes care of going
9 from string-number + pitch to number.
10
11 %}
12
13 partition = \notes { ces'16^2 d'^2 e'8^2 g'2.^3  \times 2/3 { c'8^2 e'8^3 d'8^3 } e'4^2 }
14
15 \score {
16   \context StaffGroup <
17     \context Staff <
18       % Hide fingering number (used for string number) for the "normal" staff
19       \property Staff.Fingering \override #'transparent = ##t
20       
21       \partition
22     >
23     \context TabStaff <
24       \partition
25     >
26   >
27 }