ljaques
asked on
Speech Control Exist in VB or prog?
Does a VB control exist out there (or perhaps currently residing under the Windows 95 .ocx file environment) that gives me the ability to include "Speech" in my applications? Specifically, I want to be able to have certain words said aloud from my speakers. Or, if there is a small program out there (that I may "shell" out to) which gives me the ability to pass an argument of words to have spoken aloud, this would also be fine. Thanks again guys/gals.
ASKER
Sorry mark2150,
I guess i wasn't being clear enough. I want to be able to type "any text" and have it said aloud. So, it wouldn't be possible to make .wav files for all the words i want to say. I noticed microsoft has a thing called sapi 4 but noticed it takes some 40 megs just to dload it (100 megs uncompressed). All i want is just the .ocx files (and any possible engine dlls) that go along with it, excluding the rest of the stuff. Thanks for your proposed answer none the less.
I guess i wasn't being clear enough. I want to be able to type "any text" and have it said aloud. So, it wouldn't be possible to make .wav files for all the words i want to say. I noticed microsoft has a thing called sapi 4 but noticed it takes some 40 megs just to dload it (100 megs uncompressed). All i want is just the .ocx files (and any possible engine dlls) that go along with it, excluding the rest of the stuff. Thanks for your proposed answer none the less.
ASKER
Actually, MARK2150...PLEASE RESPOND BACK WITH THE SAME ANSWER!!! I Will accept it. That is a much better idea for what i want to do that to locate a synthesis program. Sorry about rejecting it.
Yeap, and SAPI need a HUGE amount of resources....... especially of RAM to give a descent result....We'd better to wait.
You could restrict your application to run only on POC equipped with DSP / and/or WaveTables soundcards.
You could restrict your application to run only on POC equipped with DSP / and/or WaveTables soundcards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks again!
There is a file called SGTROCK.WAV...
Public MusicIsOver As Boolean
This is called with:
'
ourdir = CurDir
If Right(ourdir, 1) <> "\" Then ourdir = ourdir + "\"
'
MusicIsOver = True 'Seed
Call sayit("sgtrock")
'
Public Sub sayit(soundfile As String)
'
Do While Not MusicIsOver
DoEvents
Loop
'
MusicIsOver = False
MMControl1.Command = "Close"
MMControl1.DeviceType = "WaveAudio"
MMControl1.filename = ourdir + UCase(soundfile) + ".WAV"
MMControl1.Command = "Open"
MMControl1.Command = "Prev"
MMControl1.Notify = True
MMControl1.Command = "Play"
End Sub
During your program shutdown you need:
MMControl1.Command = "Close"