Library tutorials & articles

Speech Recognition

And more code...

To declare the API put the following code at top of the form code.

Option Explicit

Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal _
lpOperation As String, ByVal lpFile As String, ByVal _
lpParameters As String, ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long

The core of the sample is basically done, however, as you know, nothing is really done without some style with the GUI. Here is the plan, lets put a button on the form to stop the recognition engine and also to start the engine when its stopped. Also, lets put a label to show the status of the engine and the recognized word.

Place a label on the form. Next place a buttom on the form. Set it's caption property to Enable and then double click on the button to open the code. Place the following code inside:

Private Sub Command1_Click()
    Select Case Command1.Caption
    Case "Disable"
        DirectSR1.Deactivate
        Command1.Caption = "Enable"
        Label1 = "Disabled"
    Case "Enable"
        DirectSR1.Activate
        Command1.Caption = "Disable"
        Label1 = "Ready"
    End Select
End Sub

The code is straight forward. A select case to test the caption of the button. If Disable, Deactivate engine, set button caption to "Enable" and set the label caption to "Disabled". If Enable, Activate engine, set button caption to "Disable" and set the label caption to "Ready". Remember, its label caption and button caption, two different things.

Comments

  1. 19 Oct 2009 at 03:23

    hi all...i am jitvinder from malaysia.. i am doing my final year project about speech recognition in basic arabic language..i need some help because i am nut familiariez with the steps in need to do to gain the output. please help. thanks.

  2. 24 Apr 2009 at 07:25
    hello everyone.. is there another language for Speech Recognition for VB?? i live in Indonesia,,a have a problem for using this Speech Recognition with my language,Indonesian.. anybody can help me?? please.. thank for u'r help..
  3. 01 Aug 2008 at 11:02

    hi i am Sandeep

     I am doing a project on Speech recognition and my code is quite different from this one mentioned here...i would like to know one thing

    I plan to extend the voice recognition capabilities of my software to actions performs inside an application as well. ( For. eg - Inside Microsoft word , if i say file , it should drop down the file tab)

    Please give me suggestions on how to go about this....I am doin my project in VB 2005

    Thanks...

  4. 02 Jan 2008 at 06:28

    My Friend if u have that voice reconzing cord... can you please kindly send me that cord to me? i'm indika from sri lanka.. my email address is indikasampath@gmail.com thank you very much
  5. 31 Mar 2007 at 20:54

    hi...

    i m working on speech recognition project ...can any one tell me .....is it possible to make this for dependent users by using sapi 5.1 kit and in C#.net 8?.....plz let  me know this.........me very much worrying abut it....

    lots of thanks.....

  6. 16 Mar 2007 at 05:34
    sir please tell me how can i use speech recognition engine tool in visual basic express edition 2005

  7. 14 Apr 2006 at 20:07

    hello sr, i have been writing u from so many days , actually the problem exist becoz i am making the same project in vb.net , witch take diffrent parameters in phrase_finish function

    can u plz send  me all the codin vb.net , how do i use phrase in that

    plz  repl !

  8. 10 Apr 2006 at 16:57

    hello , i m isha

    i encountered the same prob , it doesn't go in phrasefinish , did u solved it

    i m working in VS 2003 n is making speech recog.

    plz relpy

     

  9. 10 Apr 2006 at 12:54

    hello sir its me isha, i encountered the same problem that code in phrasefinish do not get executed,where to write the code as u were taking about, above form_load or where

    plz help!

  10. 07 Apr 2006 at 05:37

    hello sir its isha  i  m working on speech reognition project i got a problem when i wrote your given code , i m using vb.net 2003, i got error with" grammerfromstring(totaldata)" event log says cannot open the method

    i have sasdk1.5 installed , plz help what to do  it gies error as" there is a problem with actibvelistenprojetlibdll"

    plz help!

     

  11. 23 Jan 2006 at 14:26
    hi
    i would like to ask if any one could help me in my project,
    i suppose to record real time with a user and while recording split the continious words into isolated words(split at the silence) so as to make recognition on the splited words
    how could i  so if using visual c++
    thanks in advance

  12. 18 Jan 2006 at 08:30

    hello sir,
    i have to create a voice recognition software (VB) which can controls my remote control car.The hand remote will be connected to the parallel port.Can u please give me ideas or even source code in how to activate the parallel port to control the RC car by voice commands (i.e. left,right,up,down,and stop).

  13. 17 Jan 2006 at 10:14

    I have to create a voice recognition software which verifies if the people speaking match the voices of there user name saying different things. There are posts for activating voice recognition but how can i verify voices and traine the sytem to add new people with voices. Help me Please.

  14. 12 Nov 2005 at 11:30

    sir its me again, can you also give me a source code of the speech recognition because i need so that i could simulate it, thank you sir! and God Bless!

  15. 12 Nov 2005 at 11:21

    hello sir i'm currently having a thesis on speech/voice recognition, my thesis is about enhancement viterbi algorithm in the application HMM (hidden marcov model) speech recognition, can you give a HMM speech recognition application because we are having a presentation in tuesday and our proffesor wants us to show this application and i cant find any application. i hope you could help me, thank you and god bless

  16. 12 Nov 2005 at 11:20

    hello sir i'm currently having a thesis on speech/voice recognition, my thesis is about enhancement viterbi algorithm in the application HMM (hidden marcov model) speech recognition, can you give a HMM speech recognition application because we are having a presentation in tuesday and our proffesor wants us to show this application and i cant find any application. i hope you could help me, thank you and god bless

  17. 22 Oct 2005 at 20:14

    Hello Sir,
        Sincere thanks for your effort on the speech recognition project it really proved of great value to me. i am a student working on creating the same as my project. I only wish to operate different peripherals such as- printer, scanner, modems, web cameras on the voice commands along with an added feature of security. If u could only shed some light on my how to interface these in VB, i would be really be obliged.
    Looking forward to your response
    Thank you

  18. 19 Oct 2005 at 05:45

    You have not specified that on which technology you are working, if you wnat to develop your poject in VB 6.0 or .NET, in my opinion go for a good third party tool, one exelent tool os Exceletele Teletools V 3.0 and above, just search on google about this tool, its very easy to use and provides all functionalities related to Integrated Voice Responce System development.



    GMike    


    "I would love to change the world, but they won't give me the source code."

  19. 18 Oct 2005 at 23:18

    hii..
    plz i want program voice recognition by AI to help me in last year project ,my project is teaching all languages by computer automatically by talk in mic and computer auto corrects wrong plz send me any vode or tutorial that's help me thanx,.

  20. 20 Sep 2005 at 21:09

     
    i dont know how these forums work. Now people need help about STT and a guy among us says that he has done it but he is not extending any help, instead, he is demanding help about another topic. So please if anyone knows anything about the problem do share it coz we have to work our problems out with mutual cooperation .

  21. 14 Sep 2005 at 11:47

    hi
    i'm swetha
    i'm doing a project related to voice to text conversion..u hav written tht even u r interested in it .. so can u help me by providing some of the materials & links .
    Thank u

  22. 11 Sep 2005 at 07:52

    hi sir ,
    i am working on a project on speech to text conversion software,
    as my final year project.  plz send me the source code of the project and any other related tutorials.
    plz reply as soon as possible......


    my email id: beyondurthoughts200@yahoo.com

  23. 11 Sep 2005 at 07:48

    Quote:
    [1]Posted by satish kumar on 8 Feb 2004 12:22 PM[/1]
    hai sri
                  This is satish ,i have already send a message to you but you donot give the answer for my error.
                  I have found an error while doing the speech recognization code that have been given by you.
                  My doubt is my operting system is win98.Is the speech recognization controls do not support for my operating system.
                  And also after installing the speech recognition the audio devices stops working why this was hapen.
                  Sir,i request to clear my doubts very clearly.Because after seeing
    your website i showed a lot of interest in this topic.And my alternative email address is dec25sai@yahoo.co.in.I am waiting for your answers
                                                          byeeeee.


  24. 01 Sep 2005 at 08:30
    Hello,
    I am planning to do speech - to - text conversion as a part of my project using a FPGA ..
    I am thinking of Vertibi or HMM algos ...
    Can anyone tell me how do i continue and send me some links for a better knowledge on this area ... !!
    Thank you
  25. 17 Aug 2005 at 20:05

    Is any one aware of software to perform a speech to text conversion and perform a spell-check in the process? I am trying to find this software to assist a special needs child with her ability to write school papers and emails.


    Freeware would be great... a nominal fee would be good, too.


    Forgot to say thanks in advance...

  26. 14 Aug 2005 at 12:56

    Quote:
    [1]Posted by thanu_premani on 25 Apr 2005 10:07 AM[/1]
    hi praveen,
    i want to know how to convert from speech to text
    pls reply
    ok bye

  27. 14 Aug 2005 at 12:54

    Quote:
    [1]Posted by prateekg on 2 Jun 2005 07:39 PM[/1]
    Hi



    Can anyone please share how to do speech to text conversion using C#.NET


    Thanks in Advance


    Prateek

  28. 29 Jul 2005 at 10:28

    Hello Alex,


    I am trying to Recognize the voice coming from a phone line (Voice Modem connected to the machine) but i am unable to achive the same.


    Note: My application is working well when i tried same using the mic (microphone)


    Please suggest.


    Thanks,
    Yogesh

  29. 27 Jul 2005 at 13:47

    Refer the link below & to follow every of the step mentioned carefully


    http://www.developerfusion.co.uk/show/1910/1/


    It has to work !!!!


    Thanks Alex. Your program & explaination helped a lot.

  30. 21 Jul 2005 at 06:23

    Hello,


    I am trying the Speech/Voice Recognition. Tried everything what ever stated on the link "http://www.developerfusion.co.uk/show/1598/2/" but its not working.


    How can i ensure   that DirectSR1 is activited after the execution of the DirectSR1.Activate statement.
    I am not able to hit (used Breakpoints) the following events as well
    DirectSR1PhraseStart
    DirectSR1
    PhraseFinish


    The code on Form_Load() ....
       DirectSR1.GrammarFromFile App.Path & "\SpeechFile.txt"
       DirectSR1.Activate


    The content of SpeechFile.txt .......
        [<Start>]
        <start>=Memo
        <start>=Sound
        <start>=New Media
        <start>=Music

  31. 21 Jul 2005 at 05:55

    Hello,


    Can you post your code for me to study as i am trying voice recognation but its not working at my end.


    Thanks -- Yogesh

  32. 20 Jul 2005 at 18:15

    hello
    i have finally made it. i include grammer file vcrVoice.GrammarFromFile "c:\grammer.txt"


    and now it works fine.

  33. 20 Jul 2005 at 14:14

    Hello,


    I am trying the same. Tried everything what ever stated on the link "http://www.developerfusion.co.uk/show/1598/2/" but its not working.


    Hope you can help me.


    Thanks,
    Yogesh

  34. 20 Jul 2005 at 14:13

    Hello,


    Please refer the URL as stated below.


    I am trying the same. Tried everything what ever stated on the link "http://www.developerfusion.co.uk/show/1598/2/" but its not working.


    Hope you can help me.


    Thanks,
    Yogesh

  35. 20 Jul 2005 at 14:12

    Hello,


    I am trying the same. Tried everything what ever stated on the link "http://www.developerfusion.co.uk/show/1598/2/" but its not working.


    Hope you can help me.


    Thanks,
    Yogesh

  36. 15 Jul 2005 at 02:22
    guys im doin my thesis now... um im doin a c.a.i werin it s a tutorial that teaches languages such as french n spanish... now i need sum codes that will give my thesis a interactive actvty lyk voice comparison werin the user will replicate the pronounciation n it will not be accepted untl the user pronounciation is the same as the cai has... tnx... i nid it asap or u can email me if u hav codes at jheidi23@hotmail.com.. tc.. Godblez
  37. 09 Jul 2005 at 08:34

    hello
    i am doing voice recognation. it works fine but i want to insert grammer from file. can anyone give me example how to insert it.

  38. 07 Jul 2005 at 10:08

    Hello,


    I need to convert Voice to Text for my project.


    Could you please help me with some sample source-code
    or any other relevant information for the same.


    Looking forward for your email..


    Thanks & Regards

  39. 02 Jun 2005 at 19:39
    Hi


    Can anyone please share how to do speech to text conversion using C#.NET

    Thanks in Advance

    Prateek
  40. 02 Jun 2005 at 04:31
    clearcraft:


    in this link you see a sample:
    This article shows you how to build speech recognition application using C#.
    www.c-sharpcorner.com/ Code/2004/May/SpeechRecognition.asp
    you have change the words for any  numbers 0-100 and run the program it`s easy.
  41. 01 Jun 2005 at 00:15
    I've been trying for quite a while to use speech recognition in my application, but it just won't work. I loaded the "ActiveListen" control (AKA "Microsoft Direct Speech Recognition" or Xlisten.dll). I followed your instructions to the letter, but no matter what, PhraseStart() is never called. I used the GrammarFromFile() function, the Activate() function, and even the Listen() function (not sure what that one's for), but nothing's happening. I put a MsgBox event in PhraseFinish(), and even in PhraseStart() just to see if they really were being called, but they're not. Any ideas? I'm using Visual Basic .NET.
  42. 26 May 2005 at 14:55

    AOA!



      i find your message at develper fusion of the date Oct' 2004. i am also doing speech recognition project using C#. i have done text to speech, speech to text. but i want to identify how is (person) speecking by identifing him thorugh speech samples in the database in C#.net. if you have any material then reply.


     thanks


     sajid from wah.

  43. 25 Apr 2005 at 10:07

    hi praveen,
    i want to know how to convert from speech to text
    pls reply
    ok bye

  44. 22 Mar 2005 at 17:48
    Ben,

    Is there any way I can get a copy of your code? I am new to programming and to speech recognition and whatever help I can get is welcome.

    Thank you.

    Carlos
  45. 22 Mar 2005 at 17:21
    Pihu,

    Did you ever get help on this subject? If you did, could you forward it to me? My email is cjquintero@comcast.net.

    Thanks,

    Carlos
  46. 10 Feb 2005 at 19:11
    hi,
    i am pihu
    i just visited this site and found out that u r working on speech to text conversion.
    so please help me with the related sites,any material u can provide.i will be really grateful to u
                                        pihu
  47. 03 Feb 2005 at 03:31

    Hi, I try to use a String as a word to say but when I try to code, the program start the explorer with the VB directory in place of the real Program. There no errors in the Select Case but I think that VB doesn't use the DSR technologies as it suppose to do...


    There is my code, I use words in english and french, so it's sometime a little weird:


    Code:
    Dim totaldata As String
     'define configuration
     '[Grammer], set language to French-1036 (1036 don't work so it's set 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 & _
     "<start>=Solitaire" & vbCrLf & _
     "<start>=Desactiver" & vbCrLf & _
     "<start>=" & opt1 & vbCrLf & _
     "<start>= Thank You" & vbCrLf & _
     "<start>=Close" & vbCrLf



     DsrTest.GrammarFromString (totaldata)



    The opt1 thing is a String referred to a Text Box to make a choice of applications, it's the only thing left before I can release my program on the web...

  48. 03 Feb 2005 at 01:34

    Do you add the Private Declare about the Shell Execute?


    This is the code, it must be inseted under the Option Explicit option in the General Declarations:


    Private Declare Function ShellExecute Lib "shell32.dll" _
    Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal _
    lpOperation As String, ByVal lpFile As String, ByVal _
    lpParameters As String, ByVal lpDirectory As String, _
    ByVal nShowCmd As Long) As Long

  49. 18 Jan 2005 at 11:39



    hi, i am from mexico, and i am doing a project for my thesis, so i need information of voice recognition, please send me a sample of you project ok.


    thanks


    seidig01@yahoo.com.mx

  50. 17 Jan 2005 at 10:18
    Apologise if I have posted this in the wrong place,if i have could you please tell me where to post it. Anyway, I am developing a program in c# and want to incorporate speech recognition that will be able to recognise the numbers 0-100. I am thinking about using Microsoft Speech SDK 5.1 Is this the best one to use? If anybody could help me oput in any way i would really appreciate it.
    Thank you in advance.
  51. 10 Jan 2005 at 22:58

    hello


    i am from india ,i am doing my final year project in voice recognition(vb),so please send the project,and also send the source and the help file to my email id:vtheivamani@yahoo.com

  52. 16 Dec 2004 at 09:14
    can i have the example code for speech recongnition exaple , thank it would help alot

    nutter1_518_373@hotmail.com
  53. 16 Dec 2004 at 09:11
    <img src="http://i.1asphost.com/PeterHost/compile%20error.PNG">

    I Keep On Getting This ^ Error
  54. 10 Dec 2004 at 03:09

    hjgj

  55. 10 Dec 2004 at 03:09

    hjgj

  56. 24 Nov 2004 at 23:51

    Indeed. This technology you're talking about is quite a challenge to even professionals. Try getting micrsoft's SDK and see for yourself what Notepad can do.

  57. 24 Nov 2004 at 23:48

    I just found this info. Hope it helps!
    The method you're trying to use requires two parameters, the first one is the hWnd of the container form, and the second one is the intended title of the dialogue window.


    To use this method, you MUST FIRST SET THE SPEAKER. To do this, store a string containing the speaker's name into the speech control's "Speaker" property.


    'Note: sr is a DirectSR
    sr.Speaker = "myName"  'This is the most important step
    sr.TrainGeneralDlg sr.Parent.hWnd, "Welcome to Training"


    Then the dialogue will display properly with the speaker as "myName." If this is the first time myName trained, then a new profile will be created for myName; otherwise an existing profile is loaded.


    If you have any questions, just post another reply

  58. 11 Oct 2004 at 14:25
    hello sir my name is praveen. i am doing my project using speech to text conversion. After the speech is converted into text in the label , i want to communicate with the microcontroller port when the text matches. i am requesting you to guide how it can be used to control the port by providing the sample codes. i am waiting for tour reply.
  59. 14 Sep 2004 at 05:26

    Hello,


    I need to convert Voice to Text as a part of my project.


    Could you please help me with some sample source-code
    or any other relevant information for the same.


    Looking forward for ur email..


    Thanks & Regards,
    Vasanthi

  60. 10 Sep 2004 at 07:01

    Can somebody help me out with the following problem I am facing in my VB application. I am using Microsoft's Direct Speech Recognition Control.


    I want to unload the current form, Form1, when i speak the phrase "exit".


    In the phrasefinish event I have given:


            If phrase="exit" then Unload Me.


    In the Unload event of the form I have given:


         DirectSR1.deactivate


         Set Form1=Nothing ' to  call the terminate event of the form


    If i call the unload event from a command button, the code works perfectly and the form's unload and  terminate event is called.


    The problem occurs in the phrasefinish event of DirectSR1. "Exit" phrase is detected in the phrasefinish event, and the form's unload event occurs when I give Unload Me, but the terminate event  of the form is not called and so my application hangs.


    I have tried but I can't find a solution. I'd be most grateful if somebody could please help me out.  This is a relevant part to my application and it is incomplete without it.

  61. 08 Sep 2004 at 05:28

    I am working on a project and am using the Microsoft Direct Speech Recognition component in VB6.


    The problem I am facing is that when I give DirectSr1.TrainGeneralDlg I get the error:
    Method 'TrainGeneralDlg' of object 'IDirectSR' failed.


    If I use the Voice Command component and give VCommand1.TrainGeneralDlg, it works and the training screen comes.


    Please tell me how i get the training screen to come on when using the Microsoft Direct Speech Recognition component.


    I am using VB6 and WinXP.  The problem also persists in Win98. The speech recognition engine is the one available on the Microsoft Agent download page for end-users.  Please help me, I need the answer quickly.


    Thank you.

  62. 06 Sep 2004 at 00:38

    hey
    can anyone please help me how to do speech recognition for linux

  63. 14 Aug 2004 at 03:11

    Yes it can recognize any unecessary sounds like any sound that the computer may here.......
    Maybe that's the problem because in voice recognition it should be quite to recognize waht you were saying.....


    Hope it help you out....

  64. 14 Aug 2004 at 03:06

    Hi there!!!


    About the voice recognition etc....


    Anyway what do you really want to do???


    Please make it more clear....  

  65. 14 Aug 2004 at 03:00

    I want to convert speech to text, like kinda stuff........ its hard to explain....
    its like this, I want my program to write everything I say, just like typing without using hands.... you know wahat I mean.


    Please help me out with this.....


    Any idea would be most appreciated.....


    (Sorry for my english and explanation.... )

  66. 14 Aug 2004 at 02:53

    I'm interested on Voice recognition, actually I'm looking for a sample source code to help me out.


    Please send me a sample at oendwight0829@myway.com......


    Your help will be most appreciated....

  67. 08 Aug 2004 at 10:47

    Hi,
    I am developing a speech recognition in VB and i need ur help to develop this speech recognition for our ERP application.
    We want to consider ur code as an Example and we want to proceed further,
    so can I have ur code please.


    mail me to arunvv@yahoo.com,
    Thanks
    Arun

  68. 01 Aug 2004 at 05:37

     can i have the code of your speech recognition system..it will help me a lot if u help me a lot about it...thanks..

  69. 29 Jul 2004 at 15:32
    Hi I am working on something similar and am trying to figure out how to change profiles within code for particular users. I've trained mine with only two people (male and female) so if you figured out how to do yours, could you please give me a hint on how to work with mine? Thank you very much.
  70. 21 Jun 2004 at 01:54

     I just have finish a very nice progam in VB 6.0 who use Microsoft speech engine. More great is you may add your command. Who want the code please mail me .  ecap_personal@yahoo.com

  71. 17 Jun 2004 at 00:52
    sir,

     this is mahesh , i have a problem when printing document, i want to stop ejecting the paper (printer Object)

  72. 01 May 2004 at 22:07

    hi


    thanks for helping me out till now.


    i'm searching for the source code to recognise the object using the we camera .


    is there any way for that


    plz


    waiting for your reply

  73. 01 May 2004 at 21:43

    respected sir


    can u help me , how to use the grammer.txt file .


    and how can i dynamically add words to grammer.


    can u help me . can u get me the code.


    email: seshutou@hotmail.com


    thanking you


  74. 18 Mar 2004 at 03:39

    Hello everyone, I have already posted this email elsewhere on this site, but I didn't place it under speech recognition.


    I have found an alternative, and better, solution to speech recognition.  Instead of using the "Microsoft Direct Speech Recognition" activex control, you would use the "Microsoft Speech Object Library" reference.


    First, make sure that the Microsoft Speech Recognition 5.1 & 4.0 SDK's are installed on your machine.  Both 5.1 and 4.0 are needed due to a missing file in 5.1.


    Once this is done start Visual Basic Standard EXE mode.  Under the Project menu, select References.  Scroll down until you see "Microsoft Speech Object Library" and check the box next to it.


    Now, double click on the blank form to bring up the code window.  Select everything and paste the following code.  (you have to select everything already in the code window or you will create a duplicate Form_Load procedure and get an error)


    Dim WithEvents RecoSpeech As SpSharedRecoContext
    Dim Grammar As ISpeechRecoGrammar
    Dim TopRule As ISpeechGrammarRule
    Dim Voice As New SpVoice


    Private Sub Form_Load()
    Set RecoSpeech = New SpSharedRecoContext
    Set Grammar = RecoSpeech.CreateGrammar(12)
    Set TopRule = Grammar.Rules.Add("TopRule", SRATopLevel Or SRADynamic, 1)


    TopRule.InitialState.AddWordTransition Nothing, "hello computer"


    Grammar.Rules.Commit
    Grammar.CmdSetRuleState "TopRule", SGDSActive
    End Sub


    Private Sub RecoSpeech_Recognition(ByVal StreamNumber As Long, ByVal StreamPosition As Variant, ByVal RecognitionType As SpeechLib.SpeechRecognitionType, ByVal Result As SpeechLib.ISpeechRecoResult)
    Dim Phrase As String


    Phrase = LCase(Result.PhraseInfo.GetText)


    If Phrase = "hello computer" Then Voice.Speak "hello"
    End Sub


    This code will work "as is".  Just run the program and say "hello computer" into your microphone and your computer should respond hello.


    Hope this helps everyone.  Please feel free to email me with any questions or comments at Prowler222@Hotmail.com or OASISPlayground@Hotmail.com


    Thanks,
      Eric Haensgen (aka - ProgramGod)
      Dark Mountain Software - President


  75. 13 Mar 2004 at 15:52

    The following is a quick example of how Grammar.txt should look:


    [<start>]
    <start> this is only a test  'this is what vb will recognize if this is all that you say (meaning nothing before it and nothing after it)
    <start> ... patient records      -- this will give you the ability to add a word before (ie - open patient records), but only "patient records" will be recognized by vb.
    <start> ... patient record <digits>      -- this gives you the ability to add a word before but also lets you specify a number after.   (numbers have to be preprogrammed as well
    <start> one
    <start> two
    <start> you get the point


    Hope this was helpful.  Please email me at OASISPlayground@hotmail.com


    Thanks,
      Eric
      President OASISPlayground

  76. 13 Mar 2004 at 15:42

    For all of those interested in how to make speech recognition to work in Win2k & XP follow these steps:


    1) Download and install Microsofts Speech Recognition 5.1 SDK
    2) Download and install Microsofts Speech Recognition 4.0 SDK (Suite or regular)
    3) Add the following lines to Form_Load()
     
      DirectSR1.GrammarFromFile "grammar.txt"
      DirectSR1.Activate


    4) Add the following lines to DirectSR1_PhraseFinish(..., Phrase as String)
     
      if lcase(Phrase) = "this is only a test" then msgbox "Speech was recognized"


    5) Start notepad and type the following:


      [<start>]
      <start>=this is only a test


    6) Save the file as GRAMMAR.TXT in your VB directory (ie - C:\Program File\Microsoft Visual Studio\VB98)


    Once you have created your program the obvious rules apply for where to put GRAMMAR.TXT
    If you just specified GrammarFileFrom "GRAMMAR.TXT" then you must put the grammar file in the path in which your program is being executed
    Other wise you must specify a path for the grammar file (if different from the application path)  (ie - DirectSR1.GrammarFromFile "C:\GRAMMAR.TXT")


    Hope this helps.  If you have any questions, please feel free to email me at Prowler222@Hotmail.com.

  77. 08 Feb 2004 at 12:22

    hai sri
                  This is satish ,i have already send a message to you but you donot give the answer for my error.
                  I have found an error while doing the speech recognization code that have been given by you.
                  My doubt is my operting system is win98.Is the speech recognization controls do not support for my operating system.
                  And also after installing the speech recognition the audio devices stops working why this was hapen.
                  Sir,i request to clear my doubts very clearly.Because after seeing
    your website i showed a lot of interest in this topic.And my alternative email address is dec25sai@yahoo.co.in.I am waiting for your answers
                                                          byeeeee.

  78. 07 Feb 2004 at 14:35
    Quote:
    [1]Posted by satish kumar on 7 Feb 2004 02:30 PM[/1]
    Hai Sir
                   I am very happy for your help regarding this speech regonization
    But even i sell Yourname it is not saying Hello Youname.Please give me a solution for this.
                         Thankin you,
                                                                                      from
                                                                                      satish
  79. 07 Feb 2004 at 14:34
  80. 07 Feb 2004 at 14:31
  81. 07 Feb 2004 at 14:30
    Hai Sir
                   I am very happy for your help regarding this speech regonization
    But even i sell Yourname it is not saying Hello Youname.Please give me a solution for this.
                         Thankin you,
                                                                                      from
                                                                                      satish
  82. 03 Feb 2004 at 04:08
    Hi
    I ve a prob with DirectSR.GrammarFromFile.
    What is its  structure. Please give me a file example.
  83. 14 Jan 2004 at 12:22
    Just what I was looking for – Thank You!.  

    I think there’s a slight error in the example though (which is the cause of the error: Method "Activate" of object "IDirectSR" failed)

    The caption for command button 1 shouldn’t be [enable] by default, it should be [disable].  DirectSR1 is already activated on form load.  (I think).


    Seemed to work ok (once I worked out what was causing the above error), but it doesn’t seem very accurate.  For example, “Ballyooob” in a muffled voice is recognised as “Volume” etc.  Is this the engine or something else?

    Is it possible to use the speech recognition engine that comes with Office XP? (Or is this one just as good?).

    Thanks again
  84. 10 Nov 2003 at 10:31

    Hello Sir,


    i tried the codes but i keep gettin this message


    Method " Activate" of object "IDirectSR" failed


    could this be a hardware problem as i am using a computer 233MHz and 128RAM where else speech recognition requires 400MHz comp with 128MB RAM....i hope you will be able to clear my doubt.


    thank you

  85. 22 Oct 2003 at 02:54

    just wondering...have u found code to let you choose between the sound cards?
    i've been having exactly the same problem, plus one other


    i have an onboard card, as well as a creative sb live. what i'm looking for tho is code that not only lets me switch between the two cards, but also something that will let me dynamically manipulate the sound banks and sound fonts on the creative sb live card.


    if you find, or have found,  something, then please do let me know!


    thanks
    -nash

  86. 02 Oct 2003 at 09:57

    The code worked fine for me.
    Great infact.
    Was easy to read and follow. A Gold-mine of a find.
    Thanks a bunch Mr. Yung.


    My problem was dealing with multiple soundcards.
    I use the onboard Sound "card" for Voice IN/Out while my PCI SB Live 5.1 for everything else.


    I'm still looking for help coding VB to allow me to choose which soundcard to use though... if anyone knows, please share a link with me.


    I'm splitting the mic line so I can have a 2nd mic hidden by the front door. When I walk in the house, I can speak a command (currently "Ahem") and the hallway speakers will start playing the "Imperial March" from Star Wars while I walk to my room. I feel so evil.


    -/\/\egalomanic

  87. 23 Sep 2003 at 15:33

    I have been having trouble with getting this software to work on other computers.  I used the above example and had it working on a WinME computer, but I have packaged the software and sent it to test on other computers, and it did not work in any cases (definately for XP). Has anyone else had this problem- and does anyone know what I might need to do differently? thanks

  88. 14 Aug 2003 at 04:25
    I am using the msft speech sdk 5.1.  I have a couple of profiles trained in windows xp.  I was wondering if there is a way through code that I can change profiles so it will recognize words better for a paticular person who using the program that has a trained profile existing.

    Thank you in advance
  89. 08 Aug 2003 at 02:49

    Can anyone help me start with a simple voice application using VS.NET speech controls?? Thanks for your time.

  90. 28 Jul 2003 at 02:43

    Are any of uyou using win xp pro?
    cause I am and I don´t get it to work

  91. 23 Jul 2003 at 22:05
    hi rahul,
         it will be very helpful for me if i get the codes you have done to recogonise speech in vb and interpret command like calculator.
             
              from santosh
  92. 21 Jul 2003 at 05:35
    Quote:
    [1]Posted by payneb on 22 May 2003 03:23 PM[/1]
    I too am having problems with the code in the tutorial.  I copied all the code, and nothing happend.  I read another post about doing "directsr1.countEngines()" and got 1.  I reinstalled the Actcnc.exe anyway.  Now I get a error runtime error "Method 'Activate' of object 'IDirectSR' Failed".  

    Has anyone else had this problem or does anyone have a solution for these issues?

    Thanks,,
    Payneb


    yupp
    got the same problem any solution yet??
  93. 02 Jun 2003 at 09:06

    I don't remember much about it, but do have a general troubleshooting suggestion that worked for me.  Got to google and type in the error message, and look at the search results.  Usually someone else had the same problem and solved it.

  94. 22 May 2003 at 15:23
    I too am having problems with the code in the tutorial.  I copied all the code, and nothing happend.  I read another post about doing "directsr1.countEngines()" and got 1.  I reinstalled the Actcnc.exe anyway.  Now I get a error runtime error "Method 'Activate' of object 'IDirectSR' Failed".  

    Has anyone else had this problem or does anyone have a solution for these issues?

    Thanks,,
    Payneb
  95. 26 Apr 2003 at 04:46
    Hey anyone there, having some idea of, or doing something on speech to text conversion.
    Please contact me on mmnjha@rediffmail.com.I need some help and I can be helpful to you.
                                                   mukund mohan
  96. 02 Apr 2003 at 17:21
    Funny thing is it responds much better to male voices than female
  97. 07 Feb 2003 at 06:19

    Hi there, who can help me in speech recognition? I am beginner in this speech recognition field. I would like to know how can I read or get the text that recognise from the speech to text. and the text can be read and send to parallel port? For example, i hv the via voice IBM application, how can I get the text and send it to parallel port? If using window base... how it is done? Anyone who can help me? Thanks!
    regards, lyli_my

  98. 22 Jan 2003 at 05:41

    Hi Rohan,
    I have used the above code it is same as given in the site i think when u spell the words Line Notepad Volume
    u need to spell the like Note paad Vawlume ,another thing would be u also have to donwload


    Microsoft Speech Recognition Engine
    http://www.microsoft.com/products/msagent/downloads.htm#sr


    It is working fine at my side


    i am also able to open calculator


    Cheers Rahul

  99. 11 Jan 2003 at 12:59
    which software are you using, if you are using microsoft technologies then they are two options MS-Agent or the Microsoft Speech SDK. in either case you have to configure your micropohne to the speech engine. you can find the utility for this in the control panel it will be named something like speech
  100. 11 Jan 2003 at 09:43
    hi rohan actually what i want to know is how u r able to get the voce into the computer and if so how u r coverting it into text.....

    plzzz reply and my email id is smithx@rediffmail.com
    ciao and take care

    if any information plzz pass it on


    sumit
  101. 11 Jan 2003 at 09:40
    hey i m doing a project on speech recogntion and synthesis actually i dont know where to start and i need help regarding the basics....
    i m a final yr be computer engineering student and am expected to do the project ...ie develop the software for it but have no idea....
    plzzz help.....

    sumit
  102. 06 Jan 2003 at 09:00

    Solved the problem by reinstallinc actcnc.  Apparently the first time, it didn't get set up right.  I used DirectSR1.CountEngines() and it returned 0,
    so I reinstalled actcnc and it then came up with 1, and the program ran.

  103. 05 Jan 2003 at 22:47

    The speech recogniton sample in VB did not work for me either.
    It compiles fine, but nothing happens after I click the enable or disable.
    It appears that the code never gets to the phrasefinished() procedure


    Another post suggested adding  
    engine = DirectSR1.Find("MfgName=Microsoft")
    DirectSR1.Select engine


    But that causes a crash on "Method of find fails"


    Did anyone get it to work?
    What is missing?

  104. 18 Dec 2002 at 02:41
    hi i am trying to develop an application using voice recognition, but it does not seem to work. could it be because my mic is on the monitor compared to the back of the computer? the app doesnt seem to pick up any sound input, but my mic works fine with other applications. could you please help me. thanks.
  105. 04 Dec 2002 at 22:50

    i am trying to recongise crying sound...
    is it possible to change the code to suit my application...


    thanks alot
    talotalobosza

  106. 07 Nov 2002 at 08:19

  107. 07 Nov 2002 at 08:18

  108. 09 Jul 2002 at 04:39

    would like to ask for some help regarding making such speech recognition software.


    if anyone can help...pls do email me at:


    arvin_tina@yahoo.com


    i will be making a thesis right now...and i ...

  109. 28 Jun 2002 at 08:05

    r u still in the project?


    I may try a help



  110. 29 May 2002 at 19:05

    add this before you activate the DirectSR1:


    dim engine
    engine = DirectSR1.Find("MfgName=Microsoft")
    DirectSR1.Select engine


    Mr. Yung forgot to select the speech recognition engine into the control.....
    Regards.

  111. 28 Mar 2002 at 23:10

    Hello, I am trying to develop an Email system that enables the blind people to use. The user will translate voice to text, and then activate the buttons to send the email. When receive email, the system will be able to convert text to voice....Please advice. Thank you!

  112. 09 Mar 2002 at 05:16

    dear sir,
     i want to know about grammer in speech recognition in vb in more detail
    and interaction with sound card.how it is connect with soundcard ,in vb we just create cfg grammer but i want all detail with hardware
     plese help me and send me mail at "pradippm@yahoo.com"




                  thanks

  113. 28 Feb 2002 at 19:28

    Hi There
    i had The Same Problem
    and i fixed it by donloading the Speech Engine From Microsoft and install it
    i think you have the same problem
    download the Engine setup file It's 6.1 MB
    Download From here
    and install it
    tada your problem is fixed
    Have Fun And Email Me



    Prince of Dark
    a_z5@hotmail.com

  114. 08 Feb 2002 at 13:46

    I'm interested in spanish language recognition. Can someone help me?
    Thanks

  115. 04 Feb 2002 at 11:00

    Nobody know the answer to this question????
    Can somebody please help me out here.. I'm kind of stuck...

  116. 23 Jan 2002 at 15:53
    Hi,

    I changed my code in the form_load procedure, but it stil isn't working properly.
    VB is complaining about the '  DirectSR1.AboutDlg hwnd, "test"  ' line.
    It doesn't seem to go with the 'hwnd' value.

    Can somebody please tell me what I should put here instead?
    Thanks.
  117. 17 Jan 2002 at 12:53
    I have created the project as instructed but while running the same
    I am not getting the out put So can Any one help Me..

  118. 16 Jan 2002 at 14:20
    How do you do the same thing in C#? Any ideas?
    Cheers
  119. 09 Jan 2002 at 05:34

    hello everyone... i'm in need of speech recognition and fuzzy speech recognition source code. does anybody have the source code
    and would kindly share it with me..or does anybody know how to get the source codes? it's really urgent.. somebody please help me.. thank you.

  120. 09 Jan 2002 at 05:26

    hello... does anybody have source codes in any language on speech recognition and fuzzy speech recognition???!!
    please help me..i'm in an urgent situation here!!!!

  121. 08 Jan 2002 at 10:56

    hi
    the program works! that's great.
    i still have some questions to ask, please reply me here or send me an email.


    1)  can the engine recognise the meaningless sound like um, ar, oh?
    2)  I know I can set my own grammar list for my application, but i am not sure that can I put these um, oh sound into it.


    3) if it can , how to set the grammar list?


    thanks


    P.S
    it's quite urgent, please reply me as soon as possible.  thanks a lot!


    Sincerely,
    cherry

  122. 08 Jan 2002 at 08:19

    hi,
    the notepad, media player and volume cannot be opened. can anyone help?


    P.S.  i would like to ask wether this engine can recognise some meaningless sound, like o, ai, um?



    thanks
    cherry

  123. 07 Jan 2002 at 17:58

    I added the following line to the form;


    DirectSR1.AboutDlg hwnd, "test" but I got the following


    run time error 430
    Class does not support Automation or does not support expected interface

  124. 01 Jan 2002 at 05:02

    OK, Duh,, Never mind all..lol. But Now that I have it working, and Have the ms speech installed. It dosent do anything. It opens up now, but I dosent hear anything I say to it. When I click the button should something happen?

  125. 01 Jan 2002 at 03:37

    What am I missing here. When I try to run the program I get this error.


    "Only comments may appear after end sub end function or end property."


    Then this line of code is highlighted. This is in the form load section of the program.


    Private Declare Function ShellExecute Lib "shell32.dll" _
    Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal _
    lpOperation As String, ByVal lpFile As String, ByVal _
    lpParameters As String, ByVal lpDirectory As String, _
    ByVal nShowCmd As Long) As Long

  126. 30 Dec 2001 at 17:54

    Varible not found its pointing to this in code:   Label1 = "Disabled"

  127. 28 Dec 2001 at 22:33

    i need help on how to create a dictation device in vb
    a good user interface to match it
    how do i expand the john yung's voice command program to match my desires
    it's urgent
    thanks
    felix

  128. 16 Nov 2001 at 18:16
    You can read the grammer form a file using this code. You shouldn't have any problems with adding lots of voice commands. This code assumes you have a file called grammer.txt with the grammer in it in the folder of the project. I haven't tried it out but I think it will work.

    DirectSR1.GrammarFromFile App.Path & "\grammer.txt"



    Alex
  129. 16 Nov 2001 at 06:23
    Hey Guys thanks for the help
    I got it to respond and talk back to me using the microsoft agent.
    I did some research and found some codes and downloaded one of the agent.
    It is pretty cool.

    -----------------------------------

    I had one more question. I am addting too many commands
    i mean "<start>=Name RC" & vbCrLf & _
    and now when i try to add one more, VB gives me a error reading
    "Too Many Line Continuations"
    and it does not let me add anymore of those start.
    Is there a way that i could read it from a file or if i can make two lines and use them both to recognise the word?
    Let me know...thanks


    Pahtik

  130. 13 Nov 2001 at 17:59
    I have a easy way so that the computer can talk back to you.
    Download the text-to-speech engine at http://activex.microsoft.com/activex/controls/sapi/spchapi.exe. (It wont take to long). Then open up visual basic and add the microsoft direct text-to-speech control to the toolbox and then on the form.
    You can make it say anything but this code makes it say "Hello. This is the computer speaking".

    DirectSR1.Speak "Hello. This is the computer speaking."

    This should work for any text. Any problems contact me at amyalano@netscapeonline.co.uk
  131. 11 Nov 2001 at 16:18

    Pathik,
    I would have to say to contact Microsoft on your questions.  As you are well aware this technology is so new to the mainstream market that no know I have found knows too much about it.  I did a project recently for a VB class and wanted to create a program for my son to play with using speech recognition and also to give him feedback.  The way that I did it was to create a whole bunch of wav files from the "Sound Recorder" on your Windows OS.  Then populate the words from the code that I posted and tweak it to do what you want it to do.  For example, instead of opening up "Notepad" like the example does, just play a specific wav file if the user says a word that is native to your program.
    However, I have to warn you that by creating a program that will listen and respond to the user, then perform a desired action is pretty tough.  Because what happens is the computer hears itself talk from the speakers, then it wants to respond, as it supposed to.  Let me know whether or not that is clear.    The bottom line is that you need to be able activate and deactivate the DSR when necessary without using a command button.  If you figure that out, then please let me know.


    To play the sound files, you will need to add a module with the following code:


    '*********************
    'This is the function that will play the sound files.
    Public Declare Function sndPlaySound Lib "winmm" Alias "sndPlaySoundA" _
    (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long


    Public Sub PlaySound(strFileName As String)


    'This sub routine is required along with the above function
       sndPlaySound strFileName, 1


    End Sub
    '*******************


    Put this in your forms:
    '*******************


    This code will play the wav file from your form:


    Private Sub Command1_Click()


    PlaySound (App.Path & "/HereWeGo.wav")


    End Sub


    '********************
    Good luck!


    Regards,


    Vince Randazzo

  132. 10 Nov 2001 at 06:25

    This was a good piece of Code.
    Can i ask u some question if possible please reply back here and at web@shahpathik.com


    1) Is there a tutorial for this speech recognition (like a book or a web page dedicated to that)
    2) Can u teach us how the computer can talk back to us (ex if we saw a word instead of it showing that it has matched in the Labal1, if it would actually say the word back to us that could be great, text to voice.)
    3) If i want to use the Speech to text and want to actually type few lines in a text box within visual basic, how do we do that?


    I am sorry, i know i have asked many questions, but this tutorial has really amazed me and i want to explorer it more.


    So i hope u can help me with the above matter and teach us more about voice recognition.


    Thanks a lot



    Pathik

  133. 23 Oct 2001 at 02:50

    'Just copy and paste this, but don't forget to download the correct
    '"speech recognition engine" at the following address:
    'http://www.microsoft.com/products/msagent/downloads.htm#core.
    'This file is approximately 6MB, so go get it!
    'If you don't get the correct engine, then this code will not work...
    'Good luck!


    Option Explicit


    Private Declare Function ShellExecute Lib "shell32.dll" _
    Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal _
    lpOperation As String, ByVal lpFile As String, ByVal _
    lpParameters As String, ByVal lpDirectory As String, _
    ByVal nShowCmd As Long) As Long


    Private Sub Command1_Click()


       Select Case Command1.Caption
       Case "Disable"
           DirectSR1.Deactivate
           Command1.Caption = "Enable"
           Label1 = "Disabled"
       Case "Enable"
           DirectSR1.Activate
           Command1.Caption = "Disable"
           Label1 = "Ready"
       End Select


    End Sub


    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)


    Dim sFile As String
    Dim noth As Long


    Select Case Phrase
    Case "Notepad"
       sFile = "\system32\notepad.exe"
       noth = ShellExecute(0, "OPEN", Environ("SystemRoot") & sFile, "", "", 1)
    Case "Volume"
       sFile = "\system32\sndvol32.exe"
       noth = ShellExecute(0, "OPEN", Environ("SystemRoot") & sFile, "", "", 1)


    Case "Media Player"
       sFile = "C:\Program Files\Windows Media Player\wmplayer.exe"


       noth = ShellExecute(0, "OPEN", sFile, "", "", 1)


    End Select


    If Phrase <> "" Then
       Label1.Caption = "Matched word is " & Phrase
    Else
       Label1.Caption = "No word matched"
    End If


    End Sub


    Private Sub Form_Load()


    Dim totaldata As String
    totaldata = "[Grammar]" & vbCrLf & _
      "langid = 1033" & vbCrLf & _
      "type=cfg" & vbCrLf & _
      "[<Start>]" & vbCrLf & _
      "<start>=Notepad" & vbCrLf & _
      "<start>=Volume" & vbCrLf & _
      "<start>=Media Player" & vbCrLf
    DirectSR1.GrammarFromString (totaldata)
    DirectSR1.AboutDlg hwnd, "test"
     
    End Sub

  134. 17 Oct 2001 at 20:35

    You will need to try playing around with the speech recognition settings.... Speech recognition is never 100% perfect...

  135. 17 Oct 2001 at 03:37

    When I run the program,Only media player responds to the command...

  136. 16 Oct 2001 at 21:14

    Thanks for your reply .. i will try the admendment - the only thing that puzzled me is that when talking into mic i put a breakpoint into the phrase finish and it never got to it .. i would of assumed it would of hit this bp?
    anyhow i will try the amended code and reply if i have trouble.

  137. 16 Oct 2001 at 08:44

    My apologies for the problems with this article. They have now been corrected. In order to get your code to work, please make the following changes:


    1) Change the caption of Command1 to 'Enable'
    2) Change the code in Form_Load to


     Dim totaldata As String
     totaldata = "[Grammar]" & vbCrLf & _
        "langid = 1033" & vbCrLf & _
        "type=cfg" & vbCrLf & _
        "[<Start>]" & vbCrLf & _
        "<start>=Notepad" & vbCrLf & _
        "<start>=Volume" & vbCrLf & _
        "<start>=Media Player" & vbCrLf
     DirectSR1.GrammarFromString (totaldata)
     DirectSR1.AboutDlg hwnd, "test"

  138. 16 Oct 2001 at 08:43

    My apologies for the problems with this article. They have now been corrected. In order to get your code to work, please make the following changes:


    1) Change the caption of Command1 to 'Enable'
    2) Change the code in Form_Load to


     Dim totaldata As String
     totaldata = "[Grammar]" & vbCrLf & _
        "langid = 1033" & vbCrLf & _
        "type=cfg" & vbCrLf & _
        "[<Start>]" & vbCrLf & _
        "<start>=Notepad" & vbCrLf & _
        "<start>=Volume" & vbCrLf & _
        "<start>=Media Player" & vbCrLf
     DirectSR1.GrammarFromString (totaldata)
     DirectSR1.AboutDlg hwnd, "test"

  139. 16 Oct 2001 at 08:43

    My apologies for the problems with this article. They have now been corrected. In order to get your code to work, please make the following changes:


    1) Change the caption of Command1 to 'Enable'
    2) Change the code in Form_Load to


     Dim totaldata As String
     totaldata = "[Grammar]" & vbCrLf & _
        "langid = 1033" & vbCrLf & _
        "type=cfg" & vbCrLf & _
        "[<Start>]" & vbCrLf & _
        "<start>=Notepad" & vbCrLf & _
        "<start>=Volume" & vbCrLf & _
        "<start>=Media Player" & vbCrLf
     DirectSR1.GrammarFromString (totaldata)
     DirectSR1.AboutDlg hwnd, "test"

  140. 15 Oct 2001 at 18:29
    Can you send the entire project to james@vbweb.co.uk, and I'll take a look,
  141. 15 Oct 2001 at 09:43
    The code doesn`t work.Don`t know the reason somebody help
  142. 10 Oct 2001 at 16:02
    That's just the form ... it should appear at the top of the code, and yes, it should be private. Can you post all the code you are using, and I'll take a look...
  143. 10 Oct 2001 at 16:02
    What have you called the DirectSound object on the form?
  144. 03 Oct 2001 at 08:33
    I have a mic plugged into the pc and it works i have downloads the speech sdk and created my project yet when i f5 the project the code for DirectSR1_PhraseFinish never gets run. Where am i going wrong?
  145. 29 Sep 2001 at 20:18
    Same thing here, I don't know where to put the API code, you said to put in the form module but I don't know where that is.  I currently have it in the General Declarations but I have to change it to a private declare function.  I can't seem to get the app to work when I run it like this.  I think this is a really cool feature but the tutorial stinks (or at least this part of it)!  Please help me out.

    -Jordan
  146. 29 Sep 2001 at 17:54
    where do i put the api code, what is the form module
  147. 27 Sep 2001 at 19:01
    The tutorial has been updated :-)
  148. 27 Sep 2001 at 18:53
  149. 27 Sep 2001 at 18:29
    Have you got the URL for that, and I'll update the tutorial...?
  150. 27 Sep 2001 at 18:13
    OK, I downloaded the speech engine for microsoft agent and that solved it.
    It was mentioned at the start of the article but the link only went to the SDK page, nothing there about the speech engine (or I missed it).  Eventually figured it out, lol :-)

    Dave.

  151. 26 Sep 2001 at 17:02
    It was me :-)
  152. 26 Sep 2001 at 16:44
    I have installed thew SDK 5.1 but do not have the speech components available, what have I missed?
    I'm using Visual studio 6.0 with SP5

    Any help would be appreciated.

    Dave.

  153. 26 Sep 2001 at 16:34
    My apologies... Someone posted here asking a question, just as I was creating this feature. As a result, your message got deleted. Please re-post your question!
  154. 01 Jan 1999 at 00:00

    This thread is for discussions of Speech Recognition.

Leave a comment

Sign in or Join us (it's free).

John T Yung
AddThis

Related discussion

Related podcasts

  • Christian Beauclair

    14 mai 2008 (�mission #0074) ::.Christian Beauclair: Stratégies de migration VB6 vers .NET Nous discutons avec Christian Beauclair des stratégies de migration VB6 vers .NET. Entre autres, nous discutons comment utiliser le "VB 6 Code Advisor" et le "Interop Forms Toolkit" pour ajouter la puiss...

We'd love to hear what you think! Submit ideas or give us feedback