bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1938 in lilypond: MIDI volume can exceed maximum value (Rietve


From: lilypond
Subject: Re: Issue 1938 in lilypond: MIDI volume can exceed maximum value (Rietveld 5134047)
Date: Mon, 26 Sep 2011 22:37:21 +0000

Updates:
        Summary: MIDI volume can exceed maximum value (Rietveld 5134047)

Comment #1 on issue 1938 by address@hidden: MIDI volume can exceed maximum value (Rietveld 5134047)
http://code.google.com/p/lilypond/issues/detail?id=1938

Patch here http://codereview.appspot.com/5134047

Here is a snippet that demonstrates the bug (output attached):


\score {
  \new Staff \relative c'' {
    \set Staff.midiInstrument = #"clarinet"
    \set Staff.midiMaximumVolume = #0.4 % we restrict maximum volume
r2 c2\ffff % This is a ffff note, so it shouldn't get much louder than this.
    c4\< c c c\!
    c4\< c c c\!
    c4\< c c c\!  % that's pretty loud now
    c2\ffff  % much louder than this
    \unset Staff.midiMaximumVolume
    c2\ffff % compare with unrestricted voulme.
  }
  \layout {}
  \midi {
  }
}

Attachments:
        midicresc.midi  331 bytes




reply via email to

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