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

default velocity-to-attenuation curve is incorrect #97

Open
mrbumpy409 opened this issue Oct 14, 2024 · 1 comment
Open

default velocity-to-attenuation curve is incorrect #97

mrbumpy409 opened this issue Oct 14, 2024 · 1 comment

Comments

@mrbumpy409
Copy link

The default velocity-to-attenuation curve for a SoundFont voice should be 96 dB deep. TinySoundFont, however, uses a 48 dB curve, reducing the velocity-controlled dynamic range by half.

Here is a screenshot of the recording of Test 13-A in the SoundFont Spec Implementation Test (TinySoundFont on top, FluidSynth on bottom):

image

You can see that TinySoundFont is not reducing the sample volume enough as the note-on-velocity decreases.

@firodj
Copy link

firodj commented Dec 18, 2024

wow amazing works for creating the spec benchmarks.
As of spec24, the velocity-to-attenuation is using modulator with negative concave curve fashion, but currently tsf lacks of the curve and modulators.

I've also implement the tsf modulator on my forks. its using default modulators to do velocity-to-attenuation.

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

2 participants