Downsample the audio stream to 22050 Hz before passing it to CARFAC.
Downsample the audio stream to 22050 Hz before passing it to CARFAC.

Uses a single stage lowpass BiquadFilterNode as an antialiasing filter, and manually decimates the signal by a factor of two.

The webaudio SAI now runs in real time on my desktop.

google/carfac,google/carfac,google/carfac,google/carfac,google/carfac