Created
August 16, 2023 19:01
-
-
Save willvincent/738f99bec391b2e4a565ad56d46be846 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
mkdir converted | |
for i in *.mp3 | |
do | |
sox "$i" -e u-law -r 8000 -D -c 1 "converted/$(basename "$i" .mp3).wav" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment