pretty-midi icon indicating copy to clipboard operation
pretty-midi copied to clipboard

Fluidsynth produces harsh noise

Open davidkant opened this issue 6 years ago • 1 comments

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

davidkant avatar Jan 16 '19 04:01 davidkant

PRs are welcome to resolve #151; I'd be happy to have normalization be via a kwarg which is set to False by default.

craffel avatar Jan 16 '19 05:01 craffel