audio - How to convert headerless ima-adpcm raw file to wav using sox -
I'm trying to convert a raw file (header-less) to wav
ADPCM has 16 rate 8000
I have tried three console commands
SOCKS -A IMA-ADPCM-R 8000 input. And output .Vove SOCKS -E IMA - ADPCM-R8000 -b16 input.raw output.wav These same error triggers:
SOCKS failed format: file `input.raw Bad input format for: No data encoding or sample size specified Done and last attempt
SOCKS-T raw-t wav -e ima-adpcm -r 8000 -b 16 input.raw output.wav that triggers another error
SOCKS failed format: Can not open input file 'input.raw': WAVE: RIFF header not found Do you know why I get these errors?
thanks
edit
Hex dump first 48 bytes of FYI
cc 00 00 00 00 37 C 0 0 0 0 0 0 D 0 30 37 C 30 C7 CD D3 C 03 CD 00 37 03 C 00 Dc CD 00 C 0 F 0 0 03 55 0 B4 Bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 4 cc 43
It looks like -t raw -e Using ima-adpcm does not work, but instead you have to -t ima -e ima-adpcm . I think that -t raw means raw PCM, while -t ima means raw ADPCM? To convert this ADPCM file to .vav for me:
SOCKS -T IMA-R44100-I IMA-APPCM in Raw-A signed -Intessor-B16 out .w File extension does not matter unless you indicate ADPCM with -t ima .
Comments
Post a Comment