VoiceGuide IVR Software Main Page
Jump to content

Text To Speech Vb Script

Recommended Posts

Hi,

I have a variable in VB script, let say

 

t1 = " Hello This Customer Name Blab bla "

 

I want to play it using the TTS engine does someone have a source code example

on how i play TTS using the VBS Moduel in VoiceGuide?

 

 

Thank again

Love the program :)

 

Yair,

Share this post


Link to post

The approach would be to save the text as a "Result Variable", and then in a Play module just specify that Result Varaible to be played.

 

You can set RVs when returning from VBScript (see Run_ResultReturn, RvSet and Script_Goto COM functions)

Share this post


Link to post

Thanks for your quick reply I read the help file but I really can't find any option of how to select that the text - to - speach ... will be read from a *.txt file ...

ALSO how do i Select the TTS engine where is the setting for that?

Share this post


Link to post

Ignore the last message...

 

I am sorry I don't really understand how to work the models of sending Text to speach from a VB script can you give me an example that i can figure out what exactley i need to do...

 

Also again how do i select the TTS engine I can't find this option

 

And how long is the trail period ... I need to hurry i think i installed the progi a week ago..

 

 

Thanks again

Yair,

 

Great program !

Share this post


Link to post

The TTS used is the one which is selected as the default TTS in the SAPI control applet in the Windows' Control Panel.

 

Trial period is unlimited - you just need to restart software every hour.

Share this post


Link to post

Thank you for your quick reply

But Could you please give show me an example of a VB source code on how to start the TTS file from the VB script?

Share this post


Link to post

As per previous post:

The approach would be to save the text as a "Result Variable", and then in a Play module just specify that Result Varaible to be played.

 

You can set RVs when returning from VBScript (see Run_ResultReturn, RvSet and Script_Goto COM functions)

See attached script for sample.

PlayTtsFromVbs.vgs

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×