gender of the text to speech features of vbasic

hi! i come across this one awesome feature of vb its direct text-to-speech. i already my application to talk but now i want to change the gender of the voice from male to female and vice versa and also the frequency of the voice.

more power...
LVL 1
elatagawAsked:
Who is Participating?
 
craduzaConnect With a Mentor Commented:
Private Sub Command1_Click()                     'i add the code
If Combo1.Text = "Male" then
     DirectSS1.Select 2
else
     DirectSS1.Select 1
end if
DirectSS1.Speak "Brainstorm"                  '<----------forgot this line
End Sub
0
 
amit1978Commented:
looking for same.
0
 
Dang123Commented:
elatagaw,

I think you can change the frequency  through DirectSS1.Pitch

Also take a look here

http://oldlook.experts-exchange.com:8080/Programming/Programming_Languages/Visual_Basic/Q_20428642.html

Dang123
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
elatagawAuthor Commented:
i already downloaded the files needed for this featrues from ms site. what's the next step?
0
 
craduzaCommented:
set your DirectSS1.Select 1 for female and 2 for male voice
0
 
elatagawAuthor Commented:
i try to make it 1 but still the voice is male. I changed it to 2 there is no voice.
0
 
craduzaCommented:
are u using the Microsoft direct text-to-speech XVoice.dll components? did you add the the code in any event? What i do is, on a
1 ComboBox               called Combo1 'populate with Male and Female
1 CommandButton      called Command1
1 DirectTextToSpeech called DirectSS1

Private Sub Command1_Click()                     'i add the code
If Combo1.Text = "Male" then
     DirectSS1.Select 2
else
     DirectSS1.Select 1
end if
End Sub
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.