lilypond-user
[Top][All Lists]
Advanced

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

Re: Hairpin.to-barline doesn't always work


From: Pierre Perol-Schneider
Subject: Re: Hairpin.to-barline doesn't always work
Date: Sat, 21 Jul 2018 06:32:33 +0200

Hi Patrick,
Try:

\version "2.19.81"


  \time 1/4
  \override Hairpin.to-barline = ##f
  a8\> b
  c'4\!
}
%% or:

  \time 1/4
  a8-\tweak to-barline ##f \> b
  c'4\!
}

Cheers,
Pierre

2018-07-21 5:08 GMT+02:00 Patrick Karl <address@hidden>:

Section 5.4.6 of the Notation RM states:

The to-barline property

The second useful property of the spanner-interface is to-barline. By default this is true, causing hairpins and other spanners which are terminated on the first note of a measure to end instead on the immediately preceding bar line. If set to false, the spanner will extend beyond the bar line and end on the note itself

I have a couple of questions about this section.  The first is, why would the default setting for to-barface be true?  If I wanted my spanner to end on the immediately preceding bar line, I could easily set "\!" after the last note of the preceding bar.


The second question has to do with the following two examples:

\version "2.19.81"
{  \time 1/4
    a8\> b
    \override Hairpin.to-barline = ##f
    c'4\! }
{  \time 1/4
    a8\> b
    \override Hairpin.to-barline = ##t
    c'4\! }


Both examples give identical output, i.e., the hairpin ends before the first barline, not extending to the first note of the second bar no matter what the setting of Hairpin.to-barline is.


How can I extend the hairpin to the end of the note in the 2nd bar?

Please answer both questions.  Why would the default be so counter-intuitive?


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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