TinySoundFont icon indicating copy to clipboard operation
TinySoundFont copied to clipboard

Implementing modulator

Open firodj opened this issue 11 months ago • 2 comments

Hi @schellingb thanks for awesome tinySoundFont (tsf).

I am trying to enhance the tsf by implementing SF2 modulators, some of existing conversion such-as velocity to attenuation, some midi control to some modulated generators already moved to use default modulators.

https://github.com/firodj/tsf/commits/main2

firodj avatar Feb 05 '25 07:02 firodj

I'm very excited to hear this! I (tried to) read the modulator specs a few times but it was always a very daunting endeavor. How far do you think you are, or how much do you think is left? And is there anything a general non-audio programmer like me could help with? If you think you're happy with an implementation, I'd certainly look into integrating it into mainline. Besides modulators, a chorus and reverb effect is something we are lacking, do you have any knowledge of either implementing these effects or an implementation available under MIT license or public domain?

schellingb avatar Feb 21 '25 16:02 schellingb

Besides modulators, a chorus and reverb effect is something we are lacking, do you have any knowledge of either implementing these effects or an implementation available under MIT license or public domain?

Have you heard of freeverb? It's public domain.

Edit: Here's a chorus algorithm under another MIT-licensed sf2 synth by @sinshu

spessasus avatar Mar 16 '25 17:03 spessasus