X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fbreathing-sign.ly;h=d6f35f63cd9a37b27bd654c7f4ed4cfded129331;hb=38189e6a227753ee6dca31aac448d97071a8551d;hp=5ad99b6e825535b1c9cf174c7fb0833b3611e124;hpb=68a168bff1fec7f8011b2afa82d4fc89182c4bf7;p=lilypond.git diff --git a/input/regression/breathing-sign.ly b/input/regression/breathing-sign.ly index 5ad99b6e82..d6f35f63cd 100644 --- a/input/regression/breathing-sign.ly +++ b/input/regression/breathing-sign.ly @@ -1,28 +1,57 @@ -\version "1.3.146" +\version "2.4.0" \header{ texidoc=" -Breathing signs, also used for phrasing, do normally not influence -global spacing -- only if space gets tight, notes are shifted to make -room for the breathing sign. Breathing signs break beams running -through their voice. In the following example, the notes in the first -two measures all have the same distance from each other: -" -} +Breathing signs are available in different tastes: commas (default), +ticks, vees and `railroad tracks' (caesura)." + } + +\score { + { + % + % Modern notation: + % + \new Staff { + \relative c'' { + \key es \major \time 3/4 + % this bar contains no \breathe + << + { g4 as g } \\ + { es4 bes es } + >> | -\score { - \notes \relative c' { - \key es \major \time 3/4 - < \context Voice = two { \stemDown es4 bes es } - \context Voice = one { \stemUp g4 as g } - > | - < \context Voice = two { \stemDown es4 \breathe bes es } - \context Voice = one { \stemUp g4 as g } - > | - es8 d es f g4 \breathe | - es8 d \breathe es f g f | - es2 r4 \bar "||" + % by default, \breathe uses the rcomma, just as if saying: + % \override BreathingSign #'text = + % #(make-musicglyph-markup "scripts-rcomma") + << + { g4 as g } \\ + { es4 \breathe bes es } + >> | + + % rvarcomma and lvarcomma are variations of the default rcomma + % and lcomma + + % N.B.: must use Staff context here, since we start a Voice below + \override Staff.BreathingSign #'text = + #(make-musicglyph-markup "scripts-rvarcomma") + << + { g4 as g } \\ + { es4 \breathe bes es } + >> | + + % wedge + \override BreathingSign #'text = + #(make-musicglyph-markup "scripts-upbow") + es8 d es f g8 \breathe f | + + % caesura + \override BreathingSign #'text = + #(make-musicglyph-markup "scripts-caesura") + es8[ d] \breathe es[ f g f] | + es2 r4 \bar "||" \break + } + } } }