lilypond-user
[Top][All Lists]
Advanced

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

Re: Hairpin.minimum-length gives wrong output


From: Phil Holmes
Subject: Re: Hairpin.minimum-length gives wrong output
Date: Wed, 30 Oct 2019 16:06:31 -0000

Try s8\sf\> s8-\hide\p s4 | s2 2 2 2 2 2 2 2 2 2 2 2

--
Phil Holmes
 
 
----- Original Message -----
From: Peter Toye
Sent: Wednesday, October 30, 2019 3:51 PM
Subject: Re: Hairpin.minimum-length gives wrong output

Sorry, a typo. Both lines should have \! rather than \p. What I want is the first quaver sf and the hairpin to finish before the next quaver, so that the 3rd quaver is at the same dynamic  as the 2nd one.

Here's a better MWV

\version "2.19.52"
\language "english"
{
  <<
    \new Staff {
      \time 2/4
      \clef "treble"
      c''8 8 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4\break
      c''8 8 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4\break
      c''8 8 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4\break
      c''8 8 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    }
    \new Dynamics {
      s8\sf\> s8\! s4 | s2 2 2 2 2 2 2 2 2 2 2 2
      s8\sf\> s8\p s4 | s2 2 2 2 2 2 2 2 2 2 2 2
      \override Hairpin.minimum-length = #10
      s8\sf\> s8\! s4 | s2 2 2 2 2 2 2 2 2 2 2 2
      s8\sf\> s8\p s4 | s2 2 2 2 2 2 2 2 2 2
    }
  >>
}

Line 1 has the hairpin too late at both the start and endpoints. Line 2 has a warning that the hairpin is too small. Line 3 has the end of the hairpin too late. Line 4 is fine.

Best regards,

Peter
mailto:address@hidden
www.ptoye.com

-------------------------
Wednesday, October 30, 2019, 3:24:52 PM, Phil Holmes wrote:


Not quite sure of the output you want here.  Your 2 lines of your example aren't the same since the top line has a piano dynamic on it and the lower line doesn't.  Is the first quaver supposed to have the sf immediately below it?  If so, where do you expect the p dynamic to be?  If it's below the second quaver, all lily can try to do is space the quavers to fit in the minimum length of your hairpin, which it does.

--
Phil Holmes
 
 

----- Original Message -----
From: 
Peter Toye
To: address@hidden
Sent: Wednesday, October 30, 2019 3:14 PM
Subject: Hairpin.minimum-length gives wrong output

This minimal criminal seems to give  wrong output. I want to make sure that the hairpin lasts for exactly one quaver (1/8 note). The first line gives a warning message that the hairpin is too short. The second line adjusts the length of the hairpin but it's now too long.

To try it out you may need to modify the number of notes depending on the paper size.

\version "2.19.52"

\language "english"

{
  <<
    \new Staff {
      \time 2/4
      \clef "treble"
      c''8 8 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4\break
      c''8 8 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    }
    \new Dynamics {
      s8\sf\> s8\p s4 | s2 2 2 2 2 2 2 2 2 2 2 2
       \override Hairpin.minimum-length = #5
      s8\sf\> s8\! s4 | s2 2 2 2 2 2 2 2 2 2
    }
  >>
}
 
Regards,

Peter
mailto:address@hidden
www.ptoye.com

reply via email to

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