Added: 1 year ago
From: ambcoder
Views: 7,267
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (29)

Sign In or Sign Up now to post a comment!
  • I got an error

    Error 1 Interop type 'SpSharedRecoContextClass' cannot be embedded. Use the applicable interface instead. C:\Users\Rad-x\documents\visua­l studio 2010\Projects\VoiceRec\VoiceRe­c\SpeechLibrary.vb 54 27 VoiceRec

  • @HelpMyFellowPeople I got the same error, someone please help

  • libraries are all well and good, but I this is not what I was looking for when I searched for a tutorial for the Microsoft speech library.

  • thanks i searched a lot of Hours for this and now i have a good Application.

    Sorry for my english because i'm german

  • @ambcoder I am making a program that uses this feature and I may potentially make money off of it when it is finished, I have given copyright credit to you in the about box and code, do i need to do anything else?

  • @ThePowerGeek No you dont! You have fun :D If your using it commercially, I would recomend you note down the incompatabilities (which you can view on my website). :)

  • Hello.

    What I wanted to do with this was control an external machine (a BS2) using a bluetooth connection from it to my PC.

    Can this be done with your code?

  • @Kijiriko I suppose it could. The speech recognition library can't handle Bluetooth Connections but you could embed BlueTooth capabilities whithin your program and activate them through a function using speech recongition. I'm currently using Speech Recognition to make a Home Automation library.

  • Comment removed

  • I have discovered what the problem with embedding is for all you guys on VB 2010!! When you create your project or form, you must make sure that you select .NET Framework 3.5 NOT 4.0!!!

  • @DuckHouseProductions Thank you for your incompatability suggestion. I have listed this on my website.

  • Please upload the complete project files for VB cos I have loads of errors about embedding (and yes I have done the refrences and library)

  • dude i was trying to run the program same as yours but there was an error occured. SAPI.Speak(TextToSpeak)

    the error is that this is not registered

  • @tangina1234 Have you included all the relavent References which I said?

  • @tangina1234 Please make sure your system meets the minimum requirements as stated on my website.

  • I have a problem with the code,

    "Error 3 Interop type 'SpSharedRecoContextClass' cannot be embedded. Use the applicable interface instead."

    Can you help? I don't know why it's doing this

  • @Uploadthedownload i get same error :(

  • @Uploadthedownload it might be something to do with the framework. make sure you are using .Net 3.5 not .net 4 ? it's just a guess

  • uuhm, ive got the speech recognition in windows working now. but when i start the program it say "what was that"

    could you maybe just send me the complete project (in vb) so a can see what I did wrong?

    thanks

  • @7lucklucky Unfortanately that "what was that" message is nothing to do with the code. Its saying that because Windows doesn't understand what your saying. Try the Microsoft Training Wizard for speech recognition  :) Have fun. When you become "computer voice friendly" the software will react to the quoates you put in.

  • I get 2 errors:

    1. SpeechLibrary_TextToSpeech_("h­ello there, my name is HelpMe") It says its not declared.

    2. RecoContext = New SpSharedRecoContextClass  'Create a new RecoContextClass

    can you help me with that?

    thanks!!

  • @7lucklucky Hi there :) Thanks for watching the video :)

    Did you download the library? Did you include it into the project?

  • @ambcoder Yea i did.

    I handeled the first failure, but htere is still the 2nd problem.

    I've got no idea what it is.

    I have the german VB2010 so its kind a hard to explain what the problem is.

    heres a translation from google:

    Error 1 The Interoptyp "SpSharedRecoContextClass" can not be embedded. Instead, use the appropriate interface.(Patch C:\ ......)

  • @7lucklucky How strange. So you added the library. Ok. Thats a good start.

    In this project I also add the Microsoft Speech Library as a reference to the project. Without that reference the line of code in error 2 doesn't work. Did you add the reference to your project?

  • @ambcoder

    yes, i added it.

    The text to speech does work by the way.

  • @7lucklucky Thats good :) Im confused into why your declaration doesn't work. When I try to sort out errors that I don't recognise I put the error into Google and see what I get... What is the exact error message?

  • @ambcoder

    you are a genius!

    i found a post and the answer was:

    leave the "class" at the end. guess what, it worked.

    now the only thing I need is a mic :)

    thanks, Great Tut.

  • @7lucklucky Im glad you've now got speech recognition in your software! I spent a lot of time trying to make that function as simple as possible :)

  • @7lucklucky Please make sure your system meets the minimum requirements as stated on my website.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more