• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 753
  • Last Modified:

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...
0
elatagaw
Asked:
elatagaw
1 Solution
 
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
 
elatagawAuthor Commented:
i already downloaded the files needed for this featrues from ms site. what's the next step?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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
 
craduzaCommented:
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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now