convert raw file to wav file
"markus.blaschke--- via Sox-users" <[email protected]> Fri, 29 Dec 2023 10:09:44 +0100
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <[email protected]> |
Hello, I want to convert raw files from a Bat cording system to wav-files for the Bat analysing system. And I found the Program SOX where I saw that it works with this to file formats. I work with Windows 10 an I know from the Internet page of the Bat cording systeme that the RAW files have no header samplerate 500 kHz little endien format PCM 16-bits other WAV files from an other Bat-cording system have Channels : 1 Sample Rate : 312500 Precision : 16-bit Sample Encoding: 16-bit Signed Integer PCM so i tried a batchfile to convert @echo cd C:\temp\sox-14-4-2 for %%i in (C:\temp\*.raw); do (sox.exe -r 500k −b 16 -L −c 1 %%i -r 312500 -b 16 -L -c 1 .\converted\%%i.wav) pause but i get this back: sox.exe FAIL formats: bad input format for file `C:\temp\20230523-N091_B0220-000014.raw': sampling rate was not specified I thought the "-r 500k" is the information for the sampling rate. Does anybody can give me an Idea to understand the line? Thank you for all your Help Markus _______________________________________________ Sox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sox-users