Skip to content

Instantly share code, notes, and snippets.

@akx
Last active December 18, 2015 17:58
Show Gist options
  • Save akx/5821923 to your computer and use it in GitHub Desktop.
Save akx/5821923 to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -s -o /tmp/heta.wav http://www.bitlips.fi/tts/`curl -s "-Finput=$1" -Fvox=1 -Ffx=5 -Fspeed=-2 http://www.bitlips.fi/tts/demo.cgi | grep -oE "tmp.+?wav"`
[ -f /usr/bin/afplay ] && /usr/bin/afplay /tmp/heta.wav || sox /tmp/heta.wav -d
@akx
Copy link
Author

akx commented Jun 20, 2013

./heta.sh nnep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment