I have some audio recorded form an i2s mic at 16000hz with arecord. It sounds like it is down an octave so I want to change the file format to 32000hz. When I try to do this with sox it edits the audio, not just the format so it still sounds wrong.
This is the sox command I am using: sox in.wav -r 32000 out.wav
What command should I use instead?
CodePudding user response:
If you want to change the audio rate, you can do it this way with ffmpeg:
ffmpeg -i input.wav -ar 32000 output.wav
CodePudding user response:
Looks like order matters in the command. The correct command is:
sox -r 32000 in.wav out.wav