Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: talking clock for ubuntu?

  1. #1
    Join Date
    Nov 2006
    Location
    New York
    Beans
    149
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Talking talking clock for ubuntu?

    has anyone been able to find a talking clock for ubuntu? Like talking as in speaking on every hour. . ?

  2. #2
    Join Date
    May 2006
    Location
    Lisbon, Portugal
    Beans
    Hidden!

    Re: talking clock for ubuntu?

    Quote Originally Posted by asnd16 View Post
    has anyone been able to find a talking clock for ubuntu? Like talking as in speaking on every hour. . ?
    Hahaha, that would be... errm... actually, I'd be afraid of throwing my laptop against the wall.

    I hate time.
    N800 in my pocket, Acer 1410 in my backpack, Thinkpad X31 on a shrine

  3. #3
    Join Date
    Aug 2006
    Location
    TEXAS!!
    Beans
    20
    Distro
    Kubuntu 6.10 Edgy

    Re: talking clock for ubuntu?

    well, here's what i could find:
    http://www.jumpstation.co.uk/scripts/talkingclock/

    It seems to utilize alsa and bash, so i'd assume it should work in ubuntu.
    all you need now are the wav files of the numbers themselves. I guess you could download those from somewhere. Or if you have a nice microphone, you could do them yourself, or find someone with a sexy voice to record them for you

  4. #4
    Join Date
    May 2006
    Location
    Triangle, West Yorks, UK
    Beans
    978

    Re: talking clock for ubuntu?

    Quote Originally Posted by tennisplaya05 View Post
    well, here's what i could find:
    http://www.jumpstation.co.uk/scripts/talkingclock/

    It seems to utilize alsa and bash, so i'd assume it should work in ubuntu.
    all you need now are the wav files of the numbers themselves. I guess you could download those from somewhere. Or if you have a nice microphone, you could do them yourself, or find someone with a sexy voice to record them for you
    There's a much easier way. Just install festival, and use the script I've attached (save it as clock.sh, make it executable). Run it via cron at whatever frequency you require.
    Attached Files Attached Files
    "The superior man understands what is right; the inferior man understands what will sell"
    --Confucius

  5. #5
    Join Date
    May 2007
    Beans
    946

    Re: talking clock for ubuntu?

    There is something in the repos called saytime
    Code:
    sudo apt-get install saytime
    watch -n 360 saytime

  6. #6
    Join Date
    May 2005
    Location
    Iceberg, Antarctic
    Beans
    42
    Distro
    Ubuntu

    Re: talking clock for ubuntu?

    I really like the idea of doing this from a cron job that runs on the hour.
    I also noticed that if I am playing music in the background festival does not work.
    A workaround is to use the aoss command before festival. You might need to install: alsa-oss
    Code:
    echo "Its" `date "+%l oclock"` | aoss festival --tts
    Last edited by bicchi; August 18th, 2007 at 05:54 PM.
    No one is to be called an enemy, all are your benefactors, and no one does
    you harm. You have no enemy except yourselves. ---- St. Francis of Assisi

  7. #7
    Join Date
    Feb 2006
    Location
    Norway
    Beans
    29
    Distro
    Ubuntu

    Re: talking clock for ubuntu?

    my script for this, partly inspired by posts above

    Code:
    #!/bin/bash
    #
    # call out the hour. run in crontab
    
    HOUR=`date "+%k"`
    FIRST=8
    LAST=18
    #SPEAK="espeak"
    SPEAK="aoss espeak" #for multiple access to soundcard
    
    #shh! its night time
    [ $HOUR -lt $FIRST ] || [ $HOUR -gt $LAST ] && exit 1
    
    #english
    echo "Its $HOUR oclock" | $SPEAK

  8. #8
    Join Date
    Apr 2006
    Beans
    1,979
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: talking clock for ubuntu?

    Simple command will do it:
    Code:
    date +"%A, %B %e %Y, %l:%M %p" | espeak
    I have it bound to an alias called 'speaktime' in my ~/.bashrc file:
    Code:
    alias speaktime='date +"%A, %B %e %Y, %l:%M %p" | espeak'
    Last edited by Tomosaur; September 8th, 2008 at 02:41 PM.

  9. #9
    Join Date
    Nov 2007
    Location
    Quebec
    Beans
    26
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: talking clock for ubuntu?

    flite_time does the job too...

  10. #10
    Join Date
    May 2008
    Beans
    Hidden!

    Re: talking clock for ubuntu?

    There was an entry to the IOCCC that did this.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •