Updates:
Summary: MIDI volume can exceed maximum value (Rietveld 5134047)
Comment #1 on issue 1938 by [email protected]: 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
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond