]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tablature-additional-bass-strings.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / tablature-additional-bass-strings.ly
1 \version "2.19.37"
2
3 \header
4 {
5   texidoc = "Additional bass strings (for baroque lute, etc.) are supported in
6   TabStaff.  They are printed below lowest line as: a, /a, //a, ///a, 4, 5 etc.
7   @code{additionalBassStrings} needs to be set accordingly."
8 }
9
10 m = { e' b g d a, e, d, c, b,,\9 a,, g,, }
11 mus = { \m \bar "||" \transpose c cis \m \bar "|." }
12
13 \score {
14   <<
15     \new Staff { \clef bass \cadenzaOn  \mus }
16     %% FretBoards with `additionalBassStrings' return weird output
17     %% A warning is thrown if uncommented
18     %\new FretBoards \mus
19     \new TabStaff { \mus }
20   >>
21   \layout {
22     \context {
23       \Score
24       tablatureFormat = #fret-letter-tablature-format
25     }
26     \context {
27       \FretBoards
28       stringTunings = \stringTuning <e, a, d g b e'>
29       additionalBassStrings = \stringTuning <g,, a,, b,, c, d,>
30     }
31     \context {
32       \TabStaff
33       stringTunings = \stringTuning <e, a, d g b e'>
34       additionalBassStrings = \stringTuning <g,, a,, b,, c, d,>
35       fretLabels = #'("a" "b" "r" "d" "e" "f" "g" "h" "i" "k")
36     }
37   }
38 }