lilypond-user
[Top][All Lists]
Advanced

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

Hairpin.to-barline doesn't always work


From: Patrick Karl
Subject: Hairpin.to-barline doesn't always work
Date: Fri, 20 Jul 2018 22:08:17 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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?


reply via email to

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