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 15:24:52 -0000

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
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]