lilypond-user
[Top][All Lists]
Advanced

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

Re: warning: crescendo too small


From: Reinhold Kainhofer
Subject: Re: warning: crescendo too small
Date: Fri, 3 Jun 2011 12:41:24 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; i686; ; )

Am Freitag, 3. Juni 2011, 12:05:08 schrieb David Santamauro:
> Hi,
> 
> When magnified 500%, the crescendo looks like a '|' ... the snippet:

The problem is that while hairpins have a minimum length, the width of the \mp 
(which is larger than the default minimum length) is also included in that 
length. The simple solution is gto increase the minimum length for the 
hairpin. See e.g. the LSR:

http://lsr.dsi.unimi.it/LSR/Item?id=448

I suppose you want this minimum-length only for this one hairpin and not for 
all others, so you'll need to use \once\override instead of \override:


\version "2.12.3"

\include "english.ly"
\score {
  <<
    \relative g' {
      \clef "treble"
      \key c \major
      \time 4/4
      r2 r4
      % make the hairpin longer:
      \once\override Hairpin #'minimum-length = #7 
      % less space between \mp and hairpin:
      \once \override Hairpin #'bound-padding = #0.25 
      d'^\markup { \tiny "Solo" }_\mp\<(
      g2\! fs4 e4)
    }
  >>
  \layout {}
}

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

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