]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/breathing-sign.ly
Split WWW target in two stages WWW-1 and WWW-2
[lilypond.git] / input / regression / breathing-sign.ly
1 \version "2.10.0"
2 \header{
3   texidoc="
4 Breathing signs are available in different tastes: commas (default),
5 ticks, vees and `railroad tracks' (caesura)."
6 }
7
8
9 {
10   %% Modern notation:
11   \new Staff {
12     \relative c'' {
13       \key es \major \time 3/4
14
15       %% this bar contains no \breathe
16       <<
17         { g4 as g } \\
18         { es4 bes es }
19       >> |
20
21       %% by default, \breathe uses the rcomma, just as if saying:
22       %% \override BreathingSign  #'text =
23                                 %       #(make-musicglyph-markup "scripts.rcomma")
24       <<
25         { g4 as g } \\
26         { es4 \breathe bes es }
27       >> |
28
29       %% rvarcomma and lvarcomma are variations of the default rcomma
30       %% and lcomma
31
32       %% N.B.: must use Staff context here, since we start a Voice below
33       \override Staff.BreathingSign  #'text =
34       #(make-musicglyph-markup "scripts.rvarcomma")
35       <<
36         { g4 as g } \\
37         { es4 \breathe bes es }
38       >> |
39
40       %% wedge
41       \override BreathingSign  #'text =
42       #(make-musicglyph-markup "scripts.upbow")
43       es8 d es f g8 \breathe f |
44
45       %% caesurae
46       \override BreathingSign  #'text =
47       #(make-musicglyph-markup "scripts.caesura.curved")
48       es8[ d] \breathe
49       \override BreathingSign  #'text =
50       #(make-musicglyph-markup "scripts.caesura.straight")
51                        es[ f] \breathe g[ f] |
52       es2 r4 \bar "||" \break
53     }
54   }
55 }