]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/breathing-signs.ly
Imported Upstream version 2.14.2
[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.14.0"
8
9 \header {
10   lsrtags = "expressive-marks"
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 \new Staff \relative c'' {
21   \key es \major
22   \time 3/4
23   % this bar contains no \breathe
24   << { g4 as g } \\ { es4 bes es } >> |
25   % Modern notation:
26   % by default, \breathe uses the rcomma, just as if saying:
27   % \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rcomma")
28   << { g4 as g } \\ { es4 \breathe bes es } >> |
29
30   % rvarcomma and lvarcomma are variations of the default rcomma and lcomma
31   % N.B.: must use Staff context here, since we start a Voice below
32   \override Staff.BreathingSign #'text = \markup { \musicglyph #"scripts.rvarcomma" }
33   << { g4 as g } \\ { es4 \breathe bes es } >> |
34
35   % vee
36   \override BreathingSign #'text = \markup { \musicglyph #"scripts.upbow" }
37   es8[ d es f g] \breathe f |
38
39   % caesura
40   \override BreathingSign #'text = \markup { \musicglyph #"scripts.caesura.curved" }
41   es8[ d] \breathe es[ f g f] |
42   es2 r4 \bar "||"
43 }