For those interested in resampling audio from within javascript

I wrote a custom interpolation that seems to do pretty well in most
browsers. It actually is faster, than the nearest neighbor algorithm I was
using earlier. It also manages to save the 'tail' computations for when the
buffer input does not evenly match up to the resampling requested, so it
saves the 'tail' for the next resample request. I hope this helps with
those doing audio processing in js.

Source: https://github.com/grantgalitz/XAudioJS/blob/master/resampler.js

Received on Wednesday, 23 November 2011 17:03:09 UTC