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