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