Last active
March 29, 2019 06:29
-
-
Save TanUkkii007/843041d683e5b605cc77797afb52a03b to your computer and use it in GitHub Desktop.
wav to raw conversion with sox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | xargs -I {} basename {} .raw | xargs -I {} sox -r 16000 -e signed -b 16 -c 1 {}.raw /output/path/{}.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sox /path/to.wav -n -S stat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | xargs -I {} basename {} .wav | xargs -I {} sox {}.wav --bits 16 /output/path/{}.raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment