Created
November 1, 2012 13:01
-
-
Save BjornW/3993501 to your computer and use it in GitHub Desktop.
Speaking time
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 | |
# depends on speech dispatcher http://packages.ubuntu.com/precise/speech-dispatcher | |
# use crontab to run this script automatically every X times when you want to know the time | |
current=`date --date="now" +%H:%M`; | |
spd-say --pitch -90 --rate -30 --voice-type male1 "The current time is: $current" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment