Created
November 16, 2018 15:53
-
-
Save tldrafael/657d2f0c24240920b685dde4c8e1859e 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
# get mp3 stdout output, pipe it to sox to remove beginning and end silence, and force specific rate sample and monochannel | |
gtts-cli "Hello World" | sox -t mp3 - -r 8000 -c 1 out.wav silence 1 0.1 1% reverse silence 1 0.1 1% reverse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment