bug-lilypond
[Top][All Lists]
Advanced

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

Hairpin #'minimum-length does not apply to real length of the hairpin


From: Xavier Scheuer
Subject: Hairpin #'minimum-length does not apply to real length of the hairpin
Date: Sun, 8 Jan 2012 21:39:38 +0100

Hi,

I noticed this while replying to James.

\override Hairpin #'minimum-length = #8  does not take into account the
fact that a hairpin can be shortened by the presence of a DynamicText.

"minimum-length" is applied not the real length of the hairpin, but to
the length of the hairpin **if it would not have been shortened by the
presence of a dynamic**.  IMHO it should apply to the _real length_ of
the hairpin (the printed one!), even if it is a "shortened hairpin"
(hey, it is usually these "shortened hairpins" that we —the users— want
to lengthen when we  \override Hairpin #'minimum-length !!).

It is not easy to explain this, I hope the following code will help you
to understand better what I mean.

%%%% Snippet

\version "2.15.24"

\relative c' {
  c1\< |
  c\mf |
  \override Hairpin #'minimum-length = #8
  c\> |
  % this "shortened" (due to the presence of the DynamicText) hairpin
  % does not have a _real_ minimum-length of #8 !
  c1\ppp\<^"too short!" |
  \override Hairpin #'minimum-length = #12
  c\fff\> |
  c\> |
  \revert Hairpin #'minimum-length
  c\mf\> |
  c\p
}

%%%% End of snippet

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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