Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Macros, Scripts, and Formulas Repository
 PowerHome Messageboard : PowerHome Macros, Scripts, and Formulas Repository
Subject Topic: TTS Announcement Macro Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 20 2006 at 20:15 | IP Logged Quote TonyNo

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
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum