TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: December 20 2006 at 20:15 | IP Logged
|
|
|
I need to post the update to this that uses the new ph_ttswait function.
This is a macro that handles text-to-speech announcements. It is set up for people using Winamp to play music, and it pauses/resumes playing during the announcement. The macro is called via the formula:
Code:
ph_macroparm ( "ANNOUNCE", "Your announcement here.", 3, 0, 0, 0 ) |
|
|
The 3 above is the time delay, in seconds, to resume playback after pausing. Since TTS returns immediately upon submitting, this delay needs to be set to whatever amount of time your annoucement will take.
I also play a wav file (attention.wav) in the macro, which you should update on your end with the sound you want to use.
Also included is another macro called Test Winamp2, which is called by Announce2. You need to create a Global Variable called WINAMP STATUS for these to function.
Announce2
Test Winamp2
Edited by TonyNo - December 20 2006 at 20:19
|