I have installed Microsoft Speech Recognition 4.0(SAPI4SDKSUITE.exe) in my windows 98. I followed a lot of tutorials including above tips but still there is no response when i run the program. I think the DirectSR_PhraseFinish procedure is simply ignore or bypass when it run. And second thing i discover; when i open setting>control panel>speech in speech window there is a button for training but when i click this button there is nothing change, there is no window appear (as above window). Is it normal? There anybody who can help to solve my problem?
I m a IT student and crazy about programing <vb>
I like this site so much
Tuesday, July 13, 2004 at 19:24:45
This is amazing! I am only 16 and i've only just taken my first VB.Net cert.
Therefore, being unexperienced, I thought it might be difficult to find any VB compatible voice recognition software that would be easy to use. So I decided I would check it out anyways, and man it's so simple, but so useful. Thank you so very much!
Hi...I am making a speech recognition program whcih recognises words which i only program it to. E.g. If a guys says Yuko or Hello it will only print (Y) or (H) not the whole word and it will add +1 to (Y) or (H). Thisprogram is suppose to be a Automatic Judo score board where The core boeard will recognise terms used by refrees in judo matches and apply it.
I am from India and i am developing the s/w for security system for multi story building where through telephone security people will call the
people(who are staying in the flats)and i want to add voice and video conferencing features in that through computers.
i can't get it to work! this is what my code looks like:
Private Declare Function ShellExecute Lib "shell32.dll" _
(ByVal hwnd As
Long, ByVal lpOperation As
ByVal lpFile As
String, ByVal lpParameters As
ByVal lpDirectory As
String, ByVal nShowCmd As
Long) As Long
Private Sub Command1_Click()
Select Case Command1.Caption
Command1.Caption = "Enable"
Label1 = "Disabled"
Command1.Caption = "Disable"
Label1 = "Ready"
Private Sub DirectSR1_PhraseFinish(ByVal flags
As Long, ByVal beginhi
As Long, _
ByVal beginlo As
Long, ByVal endhi As
Long, ByVal endlo As
ByVal Phrase As
String, ByVal parsed As
String, ByVal results As
Case "Media Player:"
sFile = "C:\Program Files\Windows Media Player\mplayer2.exe"
noth = ShellExecute(0, "OPEN",
sFile, "", "", 1)
If Phrase <> ""
Label1.Caption = "Matched word is " & Phrase
Label1.Caption = "No word matched"
Private Sub Form_Load()
Dim totaldata As String
'[Grammer], set language to english (1033)
'[<Start>], define the words we are looking for
totaldata = "[Grammar]" & vbCrLf & _
"langid = 1033" & vbCrLf & _
"type=cfg" & vbCrLf & _
"[<Start>]" & vbCrLf & _
"<start>=Notepad" & vbCrLf & _
"<start>=Volume" & vbCrLf & _
"<start>=Media Player" & vbCrLf
it's got a label (label1) and a command button (command1) present on the form but for some reason it just never enters the phrase finish event...technically this code SHOULD work...does anyone know if maybe i've done something wrong with the settings of my project??
i want to know whether this would help in doing a program to recognize a particular user, instead of using the method of username,password to login?
ie,will it be able to recoginize the actual voice of the particular user or can just get the text from whatever is spoken.
I need to monitor the microphone input level. When a voice is detected on the microphone, I need to start the recording of that voice.
Is there any examples of code in VB6 that will allow me to accomplish this task?
How can I use the Voice-Recognition functionality to check the user's voice as a password?
Is it possible??
Wednesday, September 24, 2003 at 17:58:55
ive installed the speech program (V5.1) but how come i dont have the components for using this in the Project>Components... tab?
Can ne one help me plz?
With version 5.1, you need to set a reference to the Microsoft Speech
Object Library in order to be able to use it. Version 4 had items
in the Components list, but not 5.1. See the sample projects for
how to use the Library.
im planning a parallel port project... with voice actiavted commands to light up th leds n the pc relay card... so basically its a port controlling thing... what are the other nice options i have...
i want to use voice recognition with vb .Can someone pls gimme the min . req for voice recognition. during design stage.any other bright ideas or for more info onthe project /details pls reply to my email..thnx ..
This website is absolutely great. And thanks to all those people who are helping others by sharing their knowledge. I am a senior in college and going to graduate next semester. I was surfing the net to look for some help like, how to send email from visual basic, and how to build a voice recognization application. I have looked almost everyone's comments above, I hope everyone has solved their problems. But if anyone can solve my problem please do let me know by responding on this site or by email. I not a very good programmer but I am trying my best to learn how to program. Please, if anyone knows how to solve the problems I have mentioned above, do let me know.Your help will be always appreciated. Like someone said, when you share money, the lesser it gets, when you share knowledge the bigger it gets. God Bless you all.
Guess this is a life saviour page for those of us who plan to add voice command feature in our project app.
I'd really be grateful if someone can send me source code on how to integrate voice command step by step.
Am downloading SDK version 4
I am designing an"speech commanded MP3 player"in vb and
require that system must respond to my commands & control various buttons such as: play
I would be really thankful if anybody could help me out in my project.
im new in voice command/recognition being added to a VB application. where can i find the documentation about this. can you give me sample codes (an easy one) so that i can start with it. anyone can send. thanks..
I am posting a small sample of Speech Recogntion, this was just the early stages of a program i am building that will completely automate my computer to voice commands, it took a little trial and error but i hope it helps ppl with thier own speech recongtion programs.
START A STANDARD PROJECT, ASS A TEXT BOX, NAME IT txtCommand.....THEN ADD THE SPEECH COMPONMENT AND ADD IT TO THE FORM, NAME IT
Private Sub DirectSR_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
txtCommand.Text = Phrase
Select Case Phrase
Case Is = "Launch Notepad"
retval = Shell("C:\WINDOWS\notepad.exe")
Case Is = "Launch Web Browser"
retval = Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
Case Is = "Launch Visual Basic"
retval = Shell("C:\Program Files\Microsoft Visual Studio\VB98\VB6.exe")
Case Is = "Launch Calculator"
retval = Shell("C:\WINDOWS\calc.exe")
I am doing my project on voice recognition please send me the code in vb to understand about adding voice recogntion in vb. Also whether we can interact with DOS using this facility and speak command and type it at command line in DOS environment by running at back end the vb code. Please help me out.
hi people..this is gr8 ...all u guys seems to be very helpful ...well i work for a medical firm here in
indiana,usa. and we have a appliaction which is done in visual basic and with mouse click events(command button)..i would love to change that application into a voice recognisation application..where instead of pressing the buttons in the form at run time you could talk to it and make the event occur......for example ..in my form if i have a command button A which occurs an event when
pressed...i just wanna say "press buttom A" and by application should voice recognise what i said and should press Button A ...u know what i mean .....example i wanna navigate menus in vb using voice
u just have to say it and it triggers the event or presses the button
say "menu" --->it shows the sub menu below it
and now when i say "copy" it should recognise the word or command and should do the copy function....and so on
this is my request for all the good people here to help me out with your ideas and suggestions and little source code will be greatly appreciated..
I have implemented MS Character Agent and MS Speech SDK, it tries to recognise voice commands, but problem is, not all commands are recognized, and involves huge amount of coding. I hope the SDKs' listed above will help.
i have made a visual basic application.now i want to integrate voice into it asuch that whatever
query(limited) i have i speak it out in words & the system should be able to respond me back accordingly. please tell step by step. i have already downloaded sdk5.1 & installed on my system.thanks
please tell me how to change the voice in voice to text control
Here is a procedure that will add the voices into a ComboBox or a
Sub ListVoices(Lst As
Object, Lips As Object)
engine = Lips.Find("Mfg=Microsoft;Gender=1")
For i = 1 To Lips.CountEngines
ModeName = Lips.ModeName(i)
Lst.ListIndex = Lips.CurrentMode - 1
Use this code to change the voice when the ComboBox or ListBox
Private Sub Combo1_Click()
TextToSpeech1.CurrentMode = Combo1.ListIndex + 1
if anyone wants sample code for vb to write speech recognition apps using VR 4.0 SDK then let me know. I have written several apps that control external software
aswell. A knowledge of api calls is very important for that, but for internal prog commands its easy
the screenshot is quite implressive. but i really want to know how to code the operation itself.havin dictating a certain name/word then it shall be displayed in the given textbox of a certain form.i really need help.thanks
i m trying to intergrate the Voice recogniton part into an application that uses the Text-to-speech as well..can u show me step by step how to do the voice recognition part and sample codes of the that part..?? do i need to download the microsoft
My name is vinodh,i'm from india,martin,there is an exbition in our school,i'm participating in it,i had palnned 2 exibit voice recog software (created through VB),i have vb-6 loaded in my pc and voice recog engine is not loaded in it,i have 2 download from net but it was more than 3o m.b,does it voice recog will be in vb7 also send me some dashing visual basic project with source code,plezzzzzzz