sfztools / sfizz

SFZ parser and synth c++ library, providing a JACK standalone client
https://sfz.tools/sfizz/
BSD 2-Clause "Simplified" License
418 stars 58 forks source link

amplitude_smoothccN not working #1128

Open alcomposer opened 2 years ago

alcomposer commented 2 years ago

amplitude_onccN works, but the smoothing variant amplitude_smoothccN does not, no sound is generated regardless of cc value. Tested on Multi-out sfizz LV2, 1eb36c4a

<region>
sample=*sine
output=0
amplitude_smoothcc50=100 //doesn't work - no sound
//amplitude_oncc50=100 //works, but with audible volume change clicks

<region>
sample=*tri
output=1
paulfd commented 1 year ago

Hey, shouldn't you have both oncc and smoothcc? The former would assign the multiplier and link amplitude to CC50, and the second enable the smoothing. I think the issue is that since there's a smoothcc without an oncc the default multiplier is 0.