lilypond-user
[Top][All Lists]
Advanced

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

MIDI dynamics parsing error


From: Knute Snortum
Subject: MIDI dynamics parsing error
Date: Fri, 16 May 2014 07:21:58 -0700

Short Description: I get an error from LilyPond that it can't figure out the MIDI volume to start a crescendo with in some situations.

Details:  The error message is...

(De)crescendo with unspecified starting volume in MIDI.
    { bf4 %{ \mf %} 
                    \< a16 ( \sf gf' f ef ) bf4 %{ \mf %} \< a16 ( \sf gf' f ef ) }

programming error: Impossible or ambiguous (de)crescendo in MIDI.
continuing, cross fingers

The source code is...

\version "2.18.2"
\language "english"

upper = \relative c'''' {
  | gf16-. \f ef-. df-. cf-. bf ( \sf df cf af )
    gf-. \sf ef-. df-. cf-. bf ( \sf df cf af )
  |
  <<
    { bf4 %{ \mf %} \< a16 ( \sf gf' f ef ) bf4 %{ \mf %} \< a16 ( \sf gf' f ef ) }
    \\
    { <af, f>16 q q q a4 <af f>16 q q q a4 }
  >>
}

\score {
  \new Staff = "up" {
    \clef treble
    \upper
  }
  \layout {
  }
  \midi {
    \tempo 4 = 120
  }
}

If you uncomment the \mf in line nine, the problem goes away.  At first I thought this was because of the two voices, but when I compile the \relative part by itself, that is, no \score section, there is no warning.

I'm assuming this is a bug in LilyPond and adding the \mf dynamic mark is a workaround. If not, please show me the correct way to do this.

Since Mussorgsky didn't write the \mf, I want to hide it, but \hide Dynamics doesn't seem to work.  How would I do this, or is there a better way around this problem?

Knute Snortum
(via Gmail)

reply via email to

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