Resampling PCM streams, using JavaScript only. Converts bit depth, sample rate and mono/stereo.