Birch-san / juicysfplugin

Audio plugin (e.g. VST, AU) to play soundfonts on macOS, Windows, Linux
GNU General Public License v3.0
209 stars 27 forks source link

Could JuicySFPlugin be able to cut down the ADSR time as well? #57

Open brickblock369 opened 11 months ago

brickblock369 commented 11 months ago

Basically, if the Soundfont instrument's original release time ends up sounding too long, or if I would like to abuse the ADS for specific effects, I would like to shorten it than usual (or in other words, apply an absolute time value instead of relative, which Fruity Soundfont Player seems to do). JuicySFPlugin only seems to have a function for lengthening the ADSR times.

I am aware that JuicySFPlugin is using a specific library for playback, so I wonder if the library itself can even do this.

Birch-san commented 11 months ago

I think the soundfont specification (which fluidsynth implements) only offers a relative mapping for modulating ADSR envelopes. the only control they offer is what kind of curve to use.

https://github.com/Birch-san/juicysfplugin/issues/49#issuecomment-1324430908