]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/breathing-signs.ly
be5b8c08658d3c38f2d0d39820c926e1951bedd0
[lilypond.git] / Documentation / snippets / breathing-signs.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "expressive-marks, symbols-and-glyphs"
11
12   texidoc = "
13 Breathing signs are available in different tastes: commas (default),
14 ticks, vees and @qq{railroad tracks} (caesura).
15
16 "
17   doctitle = "Breathing signs"
18 } % begin verbatim
19
20
21 \new Staff \relative c'' {
22   \key es \major
23   \time 3/4
24   % this bar contains no \breathe
25   << { g4 as g } \\ { es4 bes es } >> |
26   % Modern notation:
27   % by default, \breathe uses the rcomma, just as if saying:
28   % \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rcomma")
29   << { g4 as g } \\ { es4 \breathe bes es } >> |
30
31   % rvarcomma and lvarcomma are variations of the default rcomma and lcomma
32   % N.B.: must use Staff context here, since we start a Voice below
33   \override Staff.BreathingSign #'text = \markup { \musicglyph #"scripts.rvarcomma" }
34   << { g4 as g } \\ { es4 \breathe bes es } >> |
35
36   % vee
37   \override BreathingSign #'text = \markup { \musicglyph #"scripts.upbow" }
38   es8[ d es f g] \breathe f |
39
40   % caesura
41   \override BreathingSign #'text = \markup { \musicglyph #"scripts.caesura.curved" }
42   es8[ d] \breathe es[ f g f] |
43   es2 r4 \bar "||"
44 }