Solved

gender of the text to speech features of vbasic

Posted on 2004-04-23
8
714 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

688 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