Fixes Issue 1504, allowing feather beam line breaking.
[lilypond/patrick.git] / input / regression / tablature-harmonic-functions.ly
blob84f90da1bcbfb98feb6abc1a9259d0023234e853
1 \version "2.13.42"
3 \header {
4 texidoc = "
5 Harmonics can be specified either by ratio or by fret number.
9 test = {
10 e,4
11 \harmonicByRatio #1/2 e,\6
12 \harmonicByRatio #1/3 a,\5
13 \harmonicByRatio #2/3 d,\4 |
14 \harmonicByRatio #1/4 { g8\3 b\2 e'\1 b\2 < g b e >2 } |
15 e,1 | % check whether tab note head is restored
16 \harmonicByFret #12 e'4\1 ~
17 \harmonicByFret #12 e'4\1 (
18 \ottava #1
19 \harmonicByFret #7 e'4\1)
20 \harmonicByFret #5 e'8\1
21 \ottava #2
22 \harmonicByFret #4 < b\2 e'\1 >8 |
23 \harmonicByFret #3 < g\3 b\2 e'\1 >4
24 \harmonicByFret #2.7 < g\3 b\2 e'\1 >4
25 \harmonicByFret #2.3 < g\3 b\2 e'\1 >4
26 \harmonicByFret #2 < g\3 b\2 e'\1 >4 |
27 \ottava #0
28 e,1 | % check whether tab note head is restored
31 \paper {
32 ragged-right = ##f
35 \score {
37 \new Staff {
38 \new Voice {
39 \clef "treble_8"
40 \override Voice.StringNumber #'transparent = ##t
41 \test
44 \new TabStaff {
45 \new TabVoice {
46 \test