fundsp
fundsp copied to clipboard
adsr_live starts in "release" phase
Hi! I'm just starting to delve into fundsp, it's indeed fun!
I'm in the early stages of building a synth app, and I just found that if I do this:
let sin_osc = sine_hz(440.0);
let adsr = dc(0.0) >> adsr_live(0.2, 0.8, 1.0, 1.0);
let mut node = sin_osc * adsr;`
I get a beep at the start, because it's starting the "release" phase at t=0.0. I'd expect it to be silent, until an "attack" is triggered.
Thanks!