add resampler script, based on SoX

Closes #35.