-- | Resamples an audio file from one rate to another.
resample :: (KnownNat r2) => Audio r1 c -> Audio r2 c
resample (Audio x) = let res = Audio $ Resample x $ sampleRate res in res
resample :: (KnownNat r2) => Audio r1 c -> Audio r2 c
resample (Audio x) = let res = Audio $ Resample x $ sampleRate res in res
resample (Audio x) = let res = Audio $ Resample x $ sampleRate res in res