A few fun python lines for your deploy script if you're on a mac
pastebin.ca
pastebin.ca
I use it in long running scripts (like deploys).
growlnotify -t "Deploy" -m "Complete" #!/bin/bash
VOICES=("agnes" "kathy" "princess" "vicki" "victoria" "bruce" "fred" "junior" "ralph" "albert" "bad" "bahh" "bells" "boing" "bubbles" "cellos" "deranged" "good" "hysterical" "pipe" "trinoids" "whisper")
MSGS=("deploy is now complete" "deploy complete" "deploy completed" "sir the deployment has finished" "hey the deploy is done" "look at this cool deploy" "deployment completeed")
VOICE=$RANDOM%${#VOICES[@]}
MSG=$RANDOM%${#MSGS[@]}
say -v ${VOICES[VOICE]} ${MSGS[MSG]} && say Done
to the end of long-running commands and it just works.echo Joe Strummer broke the build | festival --tts
edit That appears to be the newest version of the docs. You can select voices by calling the function (voice_voicename) in interactive mode. So something like this works:
echo -e "(voice_nitech_us_rms_arctic_hts)\n(SayText \"this is a sentence\")" | festival
On Fedora, I had to install the festvox- packages to get other voices.> espeak "Hello World"