bug-lilypond
[Top][All Lists]
Advanced

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

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


From: Ralph Palmer
Subject: Re: Hairpin #'minimum-length does not apply to real length of the hairpin
Date: Mon, 9 Jan 2012 17:00:58 -0500

On Sun, Jan 8, 2012 at 3:39 PM, Xavier Scheuer <address@hidden> 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 <address@hidden>


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


reply via email to

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