Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VTxtAuto or DirectSS (Text-to-Speech) Help file?

Status
Not open for further replies.

zakman

Programmer
Aug 15, 2001
49
US
Does anyone have experience with VB 6.0's Direct Text-to-Speech ActiveX control? I would really like to find a descriptive help file for the properties & methods.

We are trying to change the gender of the voice... any ideas of how to use the Gender method?

Thanks!
 
I = 1
While DirectSS1.ModeName(I) <> &quot;RoboSoft Three&quot;
I = I + 1
Wend
DirectSS1.Select I
DirectSS1.TextData CHARSET_TEXT, 1, &quot;Hello, my name is Albert.&quot;
Vocal(happy, 1) = &quot;I'm happy&quot;
va_pour@yahoo.com
 
Does anyone have a help file for VB 6.0's Direct Text-to-Speech control. I can't get it to do anything.
 
Inspired by the project on developerfusion.com, I got text-to-speech working. But I wanted to know more about the other methods and properties. I found out a bit about the Select method by setting up a form with 8 small buttons in a control array. I set the captions on the buttons to their numbers by putting this code into the form's Activate event:
For Counter = 0 To 7
cmdVoice(Counter).Caption = Counter + 1
Next

The click event is:
Private Sub cmdVoice_Click(Index As Integer)
spkSpeak.Select Index + 1
spkSpeak.Speak &quot;This is voice number &quot; & Index + 1
End Sub


I have a text box (txtSpeak) and a button cmdSpeak whose code is:
spkSpeak.Speak txtSpeak.Text

This enabled me to get 7 different voices (1 and 5 seem to be the same) including a very usable female voice (3). When I extended the array to 15 buttons, voices 9 to 16 seemed to do nothing. Can anyone shed any light on this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top