My choice for this task is festival. The voice-quality is nearly retro synthetic, and it will get me up for a fifteen-second stretch break.
my shell script, which is named nag: #!/bin/bash echo "please get oop" | festival --tts sleep 3 # blank the screen to be really obnoxious #xset dpms force standby echo "stretch backward" | festival --tts sleep 3 echo "stretch left" | festival --tts sleep 3 echo "stretch right" | festival --tts sleep 3 echo "thanks"|festival --tts On 12/20/05, Tom Metro <[EMAIL PROTECTED]> wrote: > Phil Mitchell wrote: > > ...all I want to do is play a soundfile. > > Am I missing an easy solution? > > Isn't audio playback on your typical Linux box as trivial as copying an > audio file to the appropriate audio device? Google turned up examples > such as: > > cat crash.au >/dev/audio > cat door_open.au > /dev/audio > cat door_open.au > /dev/dsp > > > And "The Linux Sound HOWTO": > > http://www.djcj.org/LAU/guide/Sound-HOWTO-6.html > > which details the various audio devices. > > > You should be able to use system() to invoke 'cat' from Perl, if you > want to be lazy, or open()/syswrite(). > > -Tom > > -- > Tom Metro > Venture Logic, Newton, MA, USA > "Enterprise solutions through open source." > Professional Profile: http://tmetro.venturelogic.com/ > > _______________________________________________ > Boston-pm mailing list > [email protected] > http://mail.pm.org/mailman/listinfo/boston-pm > _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

