Created
March 22, 2012 10:49
-
-
Save npinto/2157655 to your computer and use it in GitHub Desktop.
audiobook timestretch beta scripts
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 -p 1.8X | |
| for f in *.mp3; do | |
| src="$f"; dst="1.8X/$(basename "$f")"; | |
| echo "${src}" to "${dst}"; | |
| sox "$src" "${dst}.wav" tempo 1.8 50; | |
| lame -b 320 "${dst}.wav" "${dst}"; | |
| rm -vf "${dst}.wav"; | |
| done; |
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 -p 1.8X | |
| for f in *.mp3; do | |
| src=$f; dst="1.8X/$(basename "$f")-1.8X.mp3"; | |
| echo "${src}" to "${dst}"; | |
| sox "$src" "${dst}" tempo 1.8 50; | |
| done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment