Hi Jim,

Yes, I do something similar when stopping the SAPI output before
speaking a new string of text. In C++ it would look like this.

void StopSpeech()
{
g_voice->Speak(L"", SVSFPurgeBeforeSpeak, 0);
}

Cheers!


On 5/7/13, Jim Kitchen <[email protected]> wrote:
> Hi,
>
> I forgot, this is another sapi5 command that I find very useful in games.
>
> Sub stopspeech()
> Voice.Speak vbNullString, SVSFPurgeBeforeSpeak
> End Sub
>
> You know for when you want to interrupt and stop the current speech and
> start saying something new after using the command
>
> Voice.Speak g$, SVSFlagsAsync
>
> BFN
>
>      Jim
>

---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].

Reply via email to