Solved

gender of the text to speech features of vbasic

Posted on 2004-04-23
8
676 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 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