Fluidsynth synthesis sometimes produces loud harsh noise. This happens when accidentally synthesizing midi pitches that are beyond the range of the chosen instrument. The result should be silent but, i'm guessing due to the normalization, this gets turned into pretty brutal noise.
The quickest fix would be implement Issue #151 Normalization by default and let the user deal with it. Although pretty-midi could also do a quick amplitude check before normalizing. Either is fine by me. Just trying to save my students' ears! Or really save them from getting upset with me...
Fluidsynth synthesis sometimes produces loud harsh noise. This happens when accidentally synthesizing midi pitches that are beyond the range of the chosen instrument. The result should be silent but, i'm guessing due to the normalization, this gets turned into pretty brutal noise.
The quickest fix would be implement Issue #151 Normalization by default and let the user deal with it. Although pretty-midi could also do a quick amplitude check before normalizing. Either is fine by me. Just trying to save my students' ears! Or really save them from getting upset with me...
Thank so much! David