I have a large number of .RAW audio files (unsigned 8-bit PCM with no-endianness) which I want to convert to .WAV files. What command-line tool (windows or linux) can I use to convert these quickly?
WAV using Audacity: Open the file you want to convert. Select File > Export > Export as WAV. Select a title, choose the location where you want to save the file, and set the file type to be “WAV (Microsoft) Signed 16-bit PCM”.
A raw audio file is any file containing un-containerized and uncompressed audio. The data is stored as raw pulse-code modulation (PCM) values without any header information (such as sampling rate, bit depth, endian, or number of channels).
I was pointed to SoX by a friend, which did the trick. The syntax used was sox -r 44100 -e unsigned -b 8 -c 1 <RAW_FILE> <TARGET_FILE>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With