lilypond-user
[Top][All Lists]
Advanced

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

Hairpin.minimum-length gives wrong output


From: Peter Toye
Subject: Hairpin.minimum-length gives wrong output
Date: Wed, 30 Oct 2019 15:14:15 +0000

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]