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

2012-01-09 Thread Ralph Palmer
On Sun, Jan 8, 2012 at 3:39 PM, Xavier Scheuer x.sche...@gmail.com wrote:

 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 x.sche...@gmail.com


Greetings Xavier and list members -

This has been submitted as issue 2207 :
http://code.google.com/p/lilypond/issues/detail?id=2207

I designated it ugly, but I'm not sure that's the best category.

Ralph
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


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

2012-01-08 Thread Xavier Scheuer
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 x.sche...@gmail.com

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel