ffmpeg convert wav sample rate code example Example: ffmpeg convert to wav ffmpeg -i filename.mp3 newfilename.wav