Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a voice should be attenuated half of the filter Q value #95

Open
mrbumpy409 opened this issue Oct 14, 2024 · 0 comments
Open

a voice should be attenuated half of the filter Q value #95

mrbumpy409 opened this issue Oct 14, 2024 · 0 comments

Comments

@mrbumpy409
Copy link

According to the SoundFont Spec at section 9.1.3, a voice should be attenuated by half of the filter Q (resonance) value:

The resonance is measured as a dB ratio of the resonant peak to the DC gain. The DC gain at any resonance is half of the resonance value below the DC gain at zero resonance; hence the peak height is half the resonance value above DC gain at zero resonance.

Without doing this, presets using filter Q will sound too loud, and high Q values will be painful to listen to.

Here is Audacity showing the filter Q test (Test 10) from the SoundFont Spec Implementation Test (TinySoundFont on top, FluidSynth on bottom):

image

This shows the following Q values in order: 0, 5, 10, 15, 20, 25, 30, 35, 40, 50, 70, 96. You can see how quickly TinySoundFont's volume gets out of hand as the filter Q is increased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant