New code (untested) for audio resamplings