|
-
Aug 2nd, 2000, 05:26 PM
#1
Thread Starter
Fanatic Member
Hey ppl, i need some info on speech to text controls and programs. I want to create something thath will recognize the speech and type it into a textbox. Simple as that.
Sample code and links would be GREATLY apreciated.
Thank you,
D!m
-
Aug 2nd, 2000, 05:30 PM
#2
I wrote an example up awhile ago, so I'll post the same one here. Make a Form with a DirectSR and TextBox.
Code:
Private Sub DirectSR1_PhraseFinish(ByVal flags As Long, ByVal beginhi As Long, ByVal beginlo As Long, ByVal endhi As Long, ByVal endlo As Long, ByVal Phrase As String, ByVal parsed As String, ByVal results As Long)
Text1.Text = Phrase
End Sub
Private Sub Form_Load()
' The following are words that the Engine will reconize
DirectSR1.GrammarFromString "[Grammar]" + vbNewLine + _
"type=cfg" + vbNewLine + _
"[<start>]" + vbNewLine + _
"<start>=goodbye" + vbNewLine + _
"<start>=hello" + vbNewLine
DirectSR1.Activate
End Sub
[Edited by Megatron on 08-02-2000 at 06:32 PM]
-
Aug 2nd, 2000, 06:41 PM
#3
You could also put the Xvoice.dll (DirectSS1) control on your form.
Code:
Private Sub Command1_Click()
DirectSS1.Speak Text1.text
End Sub
Or you can put the Vtext.dll (TexttoSpeech1) control on your form and the mouth will move as it speaks Text1.
Code:
Private Sub Command1_Click()
TextToSpeech1.Speak Text1
End Sub
'To stop:
Private Sub Command2_Click()
TextToSpeech1.StopSpeaking
End Sub
You could also check http://www.planet-source-code.com for strings like "Speech" and "MSAgent".
Hope that helps.
-
Aug 3rd, 2000, 12:47 AM
#4
Thread Starter
Fanatic Member
Thank you VERY much guys you have helped greatly.
D!m
-
Aug 3rd, 2000, 12:55 AM
#5
Thread Starter
Fanatic Member
One question...Megatron...is it possible to avoid addimg words that would be recognized. I was hoping that ir would be able to recognize ANYTHING. or am'i assuming too much.
And Matthew, i need speech to text not text to speech. Thanx though.
Thanx,
D!m
-
Aug 3rd, 2000, 02:06 AM
#6
Addicted Member
Dim,
Microsoft® Agent is a set of software services that supports the presentation of software agents as interactive personalities within the Microsoft Windows® interface. Microsoft Agent's conversational interface approach is an extension and enhancement of the existing interactive modalities of the Windows interface.
Start Your Tour Here http://msdn.microsoft.com/workshop/c...nt/default.asp
Regards
-
Aug 3rd, 2000, 02:21 AM
#7
Thread Starter
Fanatic Member
I've learned how to use it...but i can't seem to find where it will explain how i can have the Speech recognition recognizing ANY words, meaning haveing a dictinary of it's own. And recognize name, numbers, characters...can someone explain how and if that's possible.
Thanx,
D!m
-
Aug 3rd, 2000, 06:17 AM
#8
Addicted Member
hey
where can i find a voice.ocx or dll or the control DirectSS1 ?
pls hlp me find it.
tnx lirlir
The MORE I get to know,
I realize that I know NOTHING !
-
Aug 3rd, 2000, 08:04 AM
#9
Lirlir: If you have a Speech Engine installed, they should be located in the Components List under the following names...
- Microsoft Direct Speech Recognition
- Microsoft Direct Text-To-Speech
- Microsoft Telephony
- Microsoft Voice Commands
- Microsoft Voice Dictation
- Microsoft Direct Speech Recognition
- Microsoft Voice Text
Dim: To my knowledge, You must add words that the Engine will recognize.
-
Aug 3rd, 2000, 11:12 AM
#10
Lively Member
Here is an article on the microsoft Speech SDK that might help:
http://visualbasic.about.com/compute.../aa072600a.htm
-
Aug 3rd, 2000, 01:04 PM
#11
Hyperactive Member
Speech to text, speech recognition
I have found that most of the docs for the L&H TTS engine
and the Speech recognition engine are very vague only giving you the very basics. I have not found
much on how to change the voices (there are about 8 male
and 2 female) or how to add a dictionary of words that the
TTS engine uses. I guess this is something MS feels is not
too important.
[Edited by dsy5 on 08-03-2000 at 09:05 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|