Allow overriding the sample rate
Fixed: Repr for reading and writing
Added re-sampling the audio data.