To make concrete of what I’m trying to do, here’s a (wip) code example https://github.com/yishengjiang99/sf2rend/blob/bacca1bf2092dbd78b1affacac11155b70f1bc55/spin/mk_lpf_fade.js#L29
Sent from my iPhone > On Apr 25, 2023, at 8:37 PM, Yisheng Jiang <[email protected]> wrote: > > I’m trying to render a note that feed into a IIR filter (2-3 poles) whose > cutoff frequency following an envelope generator, and it’s not possible for > me to compute the z-transform parameters every rendering block.. > > Is it approximately the same to generate two pcm streams with the starting > and ending cutoff frequencies, then cross fade them to make the resultant > sound? > >
