∆
Max Patch
Copy patch and select New From Clipboard in Max.
yeah, fun idea!
now it does something:
things I fixed:
use + instead of +=
and * instead of *=
first scale frequency as mentioned in the pseudocode fc = in1 / ( samplerate / 2 );
issues left:
smooth parameter changes
blow up for low frequencies (is it possible to reset history somehow?, similar to 'clear' with filterobjects?)
Nice one for the pseudocode, raja. All over this one!
BTW, did you spot my [gen~]-based sinc interpolator? You might be interested.
:)
Max Patch
Copy patch and select New From Clipboard in Max.
Here it is. I tweaked it to improve the tuning and adjust for volume discrepancies; feel free to get rid of the latter if it doesn't suit your purposes. I think it sounds pretty decent. I've also posted it in my toolbox, so it'll be showing up there soon.
Max Patch
Copy patch and select New From Clipboard in Max.
And the helpfile: