License Public Domain
Lines 12
Keywords
Mac-only (1) malicious (5) random (8) say command (1) text-to-speech (2) voices (1)
Included in this Library
Permissions
Viewable by Everyone
Editable by All Siafoo Users
Hide
Siafoo is here to make coding less frustrating and to save you time. Join Siafoo Now or Learn More

Scary Voices Atom Feed 2

In Brief Says something scary every hour with a random voice. If run in the background the terminal can be closed and it will keep going.... more
# 's
 1#!/bin/bash
2
3while true; do
4 let "choice = $RANDOM % 4"
5 case $choice in
6 0) voice='Albert';;
7 1) voice='Deranged';;
8 2) voice='Hysterical';;
9 3) voice='Whisper'
10 esac
11
12 say -v $voice 'Look behind you'
13 sleep 3600
14done

Says something scary every hour with a random voice. If run in the background the terminal can be closed and it will keep going.

Sorry kids, this one is mac only :-/

More Voices

Comments

over 7 years ago (05 Mar 2009 at 11:43 PM) by Stou S.
Ok I would normally give this a 2 because it's Mac-only but it is pretty clever none-the-less so I am giving it a 3 instead.
over 7 years ago (05 Mar 2009 at 11:48 PM) by Stou S.
ah! excuse the hyphens