lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hairpin to the last bar line


From: Karol Majewski
Subject: Hairpin to the last bar line
Date: Sun, 26 Jan 2014 12:23:10 +0100

Hi! Sometimes I want my hairpin run to the end of the piece (last bar line).

Attempt 1:

{
  \override Hairpin #'to-barline = ##f
  c'1~ \<
  c'1 \! \bar "|."
}

This of course doesn't work.

Attempt 2:

{
  \override Hairpin #'to-barline = ##f
  c'1~ \<
  << c'1 { s4*3 s4 \! } >> \bar "|."   or maybe    << c'1 { s4*3 s16*3 s16 \! } 
>> \bar "|."
}

This looks better but it's only a workaround. You still have to decide on which 
beat to put \! .


So maybe we should allow LilyPond to run unterminated hairpins to the last bar 
line? Note that this is how sustain pedal works.

{
  \set Score.pedalSustainStyle = #'mixed
  c'1~ \sustainOn
  c'1 \bar "|."
}


Karol Majewski





reply via email to

[Prev in Thread] Current Thread [Next in Thread]