Voice recognition
Voice recognition
API Declarations
control in your control then double click on this control it will appear on your form
Dim isbnStr as string
Rate Voice recognition
(1(1 Vote))
' Stop the SR engine to recognize the voice
DirectSR1.Deactivate
' pass the grammer to SR1 for Recognize
DirectSR1.GrammarFromFile (App.Path & "\" & "Test.txt")
'Test.txt is file u can add all the word in the file
' Start SR engine to recognize the voice
DirectSR1.Activate
'on the FinishPhrase event of DirectSR1 put this code
isbnStr = Phrase
'Test.txt File will be like this
[Grammer]
type=cfg
[<start>]
<start>=0
<start>=1
<start>=2
<start>=3
<start>=4
<start>=5
<start>=6
<start>=7
<start>=8
<start>=9
Voice recognition Comments
No comments yet — be the first to post one!
Post a Comment