Created
February 6, 2018 13:29
-
-
Save MandarGogate/a4f43d8c74ac0b0b2bad447274f5db81 to your computer and use it in GitHub Desktop.
Convert all audio files to 16000Hz
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 | |
for name in *.wav; do | |
ffmpeg -i "$name" -ar 16000 "16KHz/${name%.*}.wav" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment