Solved

gender of the text to speech features of vbasic

Posted on 2004-04-23
8
687 Views
Last Modified: 2013-12-26
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
Comment
Question by:elatagaw
8 Comments
 
LVL 5

Expert Comment

by:amit1978
ID: 10898603
looking for same.
0
 
LVL 9

Expert Comment

by:Dang123
ID: 10903731
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
 
LVL 1

Author Comment

by:elatagaw
ID: 10914629
i already downloaded the files needed for this featrues from ms site. what's the next step?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:craduza
ID: 11055876
set your DirectSS1.Select 1 for female and 2 for male voice
0
 
LVL 1

Author Comment

by:elatagaw
ID: 11064988
i try to make it 1 but still the voice is male. I changed it to 2 there is no voice.
0
 
LVL 1

Expert Comment

by:craduza
ID: 11065151
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
 
LVL 1

Accepted Solution

by:
craduza earned 50 total points
ID: 11065166
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now