Page 1 of 1

playing sounds

Posted: Thu Jun 14, 2007 7:48 am
by nsisman
I need a little help please.

Trying to get a task set up that will play a sound thru the pc speaker.

I have devices turning on OK and I have text to speech working OK but haven't figured out how to get a task to play a sound.

Thanks

Neil

Posted: Thu Jun 14, 2007 8:26 am
by roussell
There are several ways to do it, probably the quickest is to create a Software Device of type "Execute Program Device" Point to your favorite sound player app in the "Path and Program Name" field and point to the sound you want to play in the "Arguments" field. See the attached screen shot for an example.

To make it play, simply create an action in the appropriate task to change the property value "Execute Program" to 'Yes'

In the example I used Microsoft's mplayer2 which is basically their old media player but you could use which ever you like as long as it supports supplying the file to play as a command line argument.

Terry