VB 2010 Speech Recognition / Speech-To-Text / Voice Control

Oct 23, 2011

I'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.

ADVERTISEMENT

Use Speech Recognition With Voice Only Triggering Commands In The Program?

Aug 11, 2010

I am using system.speech currently. I want to use speech recognition to make a program. However, while the program is running, I noticed that some of the commands for windows (like saying "run") would trigger other program functions. Thus, while the VB.net program is running I do not want this to happen. Also, when the computer starts up, I speech to start listening right away rather than me having to say "start listening". How can I do this? I am pretty sure that it is simple. This is my code so far:

[Code]...

View 2 Replies View Related

Recommended Alternatives For Speech Recognition Other Than Microsoft Speech Libraries?

Aug 11, 2010

recommended alternatives for speech recognition other than Microsoft Speech libraries?

View 2 Replies View Related

MS Speech SDK - Highlight Text On A Richtextbox Control While Reading The Text Using Speech Sdk Control

May 26, 2011

I just want to know that how can i highlight text on a richtextbox control while reading the text using speech sdk control. I mean the word currently speak automatically selected in the RichTextBox.

View 2 Replies View Related

VS 2010 Example Of Speech Recognition ?

Jul 4, 2011

All of the examples I'm finding on the internet are 5 or 6 years old or they are text-to-speech and I need speech input capability. I have a form that I would like to be enterable by voice.One of the textboxes on the form is for a description so I need something that will understand the spoken English language as well as possible.

View 1 Replies View Related

VS 2008 Text To Speech - Alternate Voice?

Mar 20, 2012

Basically I'm aware that using the code shown below you can get the default 'microsoft Sam' voice to work and read a textbox for example.

[Code]...

View 2 Replies View Related

VS 2010 Tutorial Needed For .NET Speech Recognition

Jun 8, 2012

I'm looking at a project that will use the speech recognition stuff provided with .NET, but need a tutorial or two to introduce me to it.

View 2 Replies View Related

Use Text To Speech To Say What Is In My Textbox - Error BC30451: Name 'voice' Is Not Declared

Jul 17, 2009

I want to use text to speech to say what is in my textbox. I have added the reference into the solution (MS speech object libarary) and inserted the "imports speechlib but i am getting an error when building.

error BC30451: Name 'voice' is not declared.

according to turtorials i have everything right, but i am still gettiing this error. here is my code;

Imports SpeechLib

[CODE]...

The very last "voice.speak" is the problem child.

View 4 Replies View Related

Voice Synthesiser Code In .net That Converts Text To Speech Using An Application?

Aug 12, 2009

I have written this voice synthesiser code in vb.net that converts text to speech using an application. I need to include emotions using rules I dont know if anyone can help with what to do..

View 2 Replies View Related

How To Do Speech Recognition

Aug 26, 2009

i just started to learn how to do speech recognition using VB.NET..but i am having trouble in what do i need to do it..how should i start?

View 1 Replies View Related

Speech Recognition In .net?

Feb 17, 2010

Is Possible to create Speech recognition in vb.net .

View 2 Replies View Related

2003: Speech Recognition?

Aug 1, 2006

i want to create a software which has the following modules 1. Speech to Text2. Text toSpeech 3. Voice commandi already developed in vb6

View 3 Replies View Related

Add Speech Recognition Capabilities?

Oct 14, 2006

I'm working on a program that needs Speech Recognition and every website says to download the Microsoft Speech Recognition Engine. I can't find that, but I've downloaded all the SDKs. Are they the same? And it always says to add a speech recognition component to the form, but I can't find where that is in Visual Basic 2005. I'm using the Express Edition, but I don't think that matters.

View 4 Replies View Related

Getting The Speech Recognition Code?

May 25, 2009

what I gather, the biggest difference between the old SAPI 5.1 and SAPI 5.3 is that SAPI 5.3 actually takes less code to do some of the same things that SAPI 5.1 does. This is just a simple example that runs notepad and says it is before doing so.One thing to remember is that the name of speech lib is changed again. Now you have to do this: Project -> Add Reference -> .NET -> System.Speech

imports system.speech
Public Class Form1
Public WithEvents recognizer As New System.Speech.Recognition.SpeechRecognitionEngine
Dim gram As New System.Speech.Recognition.DictationGrammar()

[code]....

gram is a DictationGrammar object. As it turns out, there are two grammar objects in SAPI 5.3. As you've probably already guessed, DictationGrammar is for spoken language and the normal grammar object is for simple grammar rules.

So basically, Load the grammar, set audio to the default input device and then start an Async recognize call. They have a blocking recognize call and one thing to note here is that it will turn itself off after each sucessful recognized phrase. Meaning that you have to recall Async recognize at the end of the GotSpeech sub if you want to keep picking up voice commands. As it stands, this will pick up one command and no more because it stops recognition.

One neat thing about the synthesis engine is that you can specify things like ".NET" to be said as "dot net" by Anna. Also, as it stands, the periods aren't said and so are pretty much useless. It acts just like the Vista Recognition engine also so if you spell out a word, Anna will spell it out too.In this example there is an undeclared variable named "cmd" that I fail to understand. What is the role of it and where does it obtain it's value from. I actually assume it should be the one to get the decoded\recognized text from the recognizer but not sure how that is achieved.

View 3 Replies View Related

Speech Recognition For Numbers

May 11, 2011

I'm using Speech.Recognition.SpeechRecognizer in VB.NET 2010 on XP-SP3. I can't figure out how to get it to recognize a number as a number. I want to be able to say "five" and have the code interpret it as the value 5 instead of the word. I know I could use a long choices array or sementics key/value combintations as I have for other conditions but that would be a considerable amount of hard coding or XML work. Is there a more efficient way to get the desired result?

View 1 Replies View Related

Speech Recognition From Own Grammar

Jul 18, 2010

I'm making an application that requires me to perform speech recognition from a wave file that contains some speech. I know what the words in the wave file could be.So, I need to compare these words from a small custom grammar/dictionalr instead of a whole built in large vocabulary.

I have done the recognition part with the default system large vocabulary but now just need to use my own vocabulary.

Suppose that the words that the user can say are:

Hello
hundred degree celcius,
USA,
Yes,
No

Then, how shall I write my XML Grammar? I suppose that if I use the limited small vocabulary, then my accuracy of recognition would increase. Right now, ive a wave file in Microsoft Mary's voice saying "Hello". But with the large default vocabulary its recognising it as "All though". Is my assumption correct that with the above mentioned 5 words in the vocabulry, it will recognise it as Hello only?

Ive been looking at the internet but can't find solution to my specific problem regarding making a simple grammar. In most documents its mentioning using external grammar and about several of the attributes posssible, including sementics, etc, etc. But my vocabulary is not very complicated or difficult. And I don't want to get into too much detail at the moment as I would be deviating from my project itself..

So using the following code:

Grammar = RecoContext.CreateGrammar
Grammar.CmdLoadFromFile("C:CustomGrammar.xml")

What should be the content of the CustomGrammar.xml?

View 1 Replies View Related

Speech Recognition On ASP.NET Site?

Mar 10, 2009

is it possible to enable speech recognition on asp.net web forms?

View 3 Replies View Related

Speech Recognition Software

Feb 26, 2011

Can I develope speech recognition software in VB.Net?

View 4 Replies View Related

Speech Recognition Using .NET Framework 3.5?

Feb 18, 2008

Does anyone know where I can find a step-by-step example of how to use ystem.Speech.Recognition to add speech recognition to my code

View 9 Replies View Related

VS 2008 Speech Recognition?

Aug 3, 2010

I am really new to all of this, and especially new to VB 2008, so while searching around for how to use Speech Recognition in VB, i figured i would ask here to get the best solution. I know that it is rather complicated, but my program only needs to understand maybe 20 commands max. So if anyone could post help on where i even need to get started to start speech recognition in my program,

View 2 Replies View Related

System.Speech Has No Voice?

Jan 21, 2012

Just toying with text to speech am getting no sound.

Try
Dim synth As New SpeechSynthesizer
synth.Speak(TextBox1.Text.ToString)
Catch ex As Exception[code......

View 2 Replies View Related

C# - Getting Started With Speech Recognition Programming?

May 17, 2010

So, you've all probably seen Iron Man where Tony interacts with an AI system called Jarvis. Demo clip here (Sorry it's a commercial).I'm very familiar with C#, C++ and Visual Basic, but I am unsure what options I have available for me to program something like this. Ideally, I'd like to have it assist me while working on some projects by automating a few things.

After doing a bit of research, I saw that a lot of people where using apple script. Well, I'm a windows developer and I work on windows, SO, that won't work.Microsoft has a Speech SDK, but I hear that I can't program it to learn custom words... as in it just uses it's standard library. Is this true? What are the other limitations of speech recognition with the SDK? Is there something else then?

Also, which language would be better to use for a project like this? C# or VB?

View 1 Replies View Related

Disabling Speech Recognition During TTS Output

May 31, 2011

I've written a "quick and dirty" GUI interface for a CLI chat program, and I've been trying to integrate TTS and Speech Recognition into it, so that the user can "have a conversation" with a chat bot, rather than just "type and read". The TTS portion works well (barring some small pronunciation issues - I have yet to find a TTS voice that can properly pronounce "Geek" without my having to mangle the spelling), and the SR module works well.

If I have the TTS module disabled. The problem I'm having is that the SR module is processing the output from the TTS, and causing issues where an ever-increasing string of TTS output occurs, causing undesirable results. I've tried several methods of temporarily disabling Speech recognition, none of which have proved useful. Below are some short code snippets that I've tried to use:

Imports SpeechLib
Imports System.Drawing
Imports System.Net.Sockets
Public Class Form1
Public voice As New SpVoice
[Code] .....

View 5 Replies View Related

Error While Debugging Speech Recognition

Aug 30, 2010

i got "A first chance exception of type 'System.PlatformNotSupportedException' occurred in System.Speech.dll"and "A first chance exception of type 'System.NullReferenceException' occurred in System.Speech.dll" error while debugging the code i got from here

View 1 Replies View Related

Getting Microphone Stream And Using Speech Recognition?

Sep 29, 2011

I want to basically have a program that recognizes certain phrases from the microphone just like windows speech recognitionI pretty much think that it is probably going to be a microphone stream and then have speech recognition somewhat like Kinect speech recognition but in VB and not using XNA game studio.

View 6 Replies View Related

Install Speech Recognition Engine?

Jul 5, 2011

I am trying to create a VB.Net form that recognizes speech. When I run it, I get the error "Speech recognition is not available on this system. SAP and Speech Recognition engines cannot be found." So, following Microsoft's instructions, I discover that there is no Speech tab in Speech Properties (which appear when I click on Speech in the control panel). I am using Windows XP Professional. Only a Text-to-Speech tab, no speech recognition tab. To install the speech engine, I went to Add or Remove Programs/ Change Microsoft Office Enterprise 2007/ Add or Remove Features. However there is no "Alternative User Input" as per the instructions. How can I get this speech recognition engine installed?[code]...

View 6 Replies View Related

Program Recognition Speech In Arabic?

May 10, 2011

I want program recognition speech in Arabic how can i do that

View 1 Replies View Related

Speech Recognition - Turn Listening On / Off

Jul 19, 2010

What is the code to turn listening on and off. Speech Recognition with VB 2008.

View 2 Replies View Related

Speech Recognition Dont Listen?

Mar 31, 2012

ok i want the speech recognition to listen to me but not do anything unless it hears a certain word or phrase

View 4 Replies View Related

Speech Recognition With Dragon Speak?

Dec 22, 2010

if it would be possible to call the already written dragonspeak code into a vb.net program the microsoft speech sdk blows, and i am writing code to control functions of my house and I want it to work well, but microsoft sdk blows.

View 2 Replies View Related

Using Custom Grammar For Speech Recognition

Sep 24, 2008

I have been away from programming for many years and I am trying to develop a simple speech recognition app in visual basic. Here is the problem that I am experiencing:[code]

View 7 Replies View Related

Using Speech Sdk In VB Without Windows Spech Recognition

Feb 26, 2011

I want to enable voice recognition in my vb application witouh havin to use windows speech recognition, is it posible if not how can I add a my own command to turn on the recognition on windows the default command is strat listening but I want it simple like "activate", also I would like to record my own voice command using my app, I say activate I put this code : Grammar.DictationSetState(SpeechLib.SpeechRuleState.SGDSActive), but it does not turn on windows voice recognition

View 1 Replies View Related

Assign A Shortcut Key To Speech Recognition Command?

Jan 8, 2012

Instead of repeatedly saying "show numbers" to get the numbering of clickable items to appear with Speech Recognition in Windows 7, I want to assign a keyboard shortcut to trigger this command. How can this be done?

I have been trying to use EmulateRecognition in the Speech API, but the most I've been able to get it to do is display the words "show numbers" in the Speech Recognition window; it hasn't actually performed the show numbers command using this method.

View 7 Replies View Related

Make A Speech Recognition Program Without Using Vista?

Jul 20, 2009

How can you make a speech recognition program, without using vista.

Dim Talk as new system.recognize.speech()
textbox1.text = talk

View 1 Replies View Related

Speech Recognition - Creating Grammar Files?

Mar 16, 2010

We are doing a project in speech recognition using vb.net we have achieved the text to speech but still there is some problem in speech to text. We have some problems in creating grammar files so, any tips or coding for creating grammar file.

View 1 Replies View Related

Speech Recognition Language - Configuration Not Matching?

Apr 13, 2008

I have just bought a new mic. It works just fine with Sound Recorder and MSN Messenger, but not speech recognition. Whenever I try to start Speech Recognition, it says something like "Speech Recognition could not start because the language configuration does not match the one Speech Recognition is using". The language I probably need to use is Microsoft Recognizer v5.1. But whenever I select it, it says that the engine could not be created. I already have my mic configured properly and even the tutorial works perfectly fine and same with the Training the computer thingy.

View 1 Replies View Related

Speech Recognition MS Word Add-in For Local Language In VB Or C#?

Apr 29, 2011

I want to create a speech recognition add-in to work with MS Word for my local language (other than English)

Does System.speech will work for me or something else is required?

View 1 Replies View Related

Windows 7 Speech Recognition As InProc Engine?

Apr 10, 2010

I am currently working with Speech Recognizer 8.0 and trying to develop an application in VB for simple speech recognition tasks. Unfortunately, with Windows 7, anytime speech isenabled, it is listening for any sort of all sorts of commands (ie: "start menu", "press a key", *delete*)... all of which interfere with the desired operation of the program.Now, I believe what my problem is, correct me if I am wrong, is that I should not be using theshared engine, but the "InProc" engine, so the application then has the only access to the speech engine... better question: I know how to add commands to the speech engine, but *how* do I remove all the other commands, so that it only listens for a handful of words/commands that I want it to?
 

View 6 Replies View Related

Voice Actor Program Not Switching Speech

Apr 13, 2012

trying to make a simple voice actor program that uses system.speech problem is its not loading the new speech here is code

[Code]...

View 3 Replies View Related

[2005] Speech Object Library - Female Voice?

Feb 17, 2009

I am trying to create a text to speech program that can speak in a female voice and also have the option to save to a WAV file. I have found some code out there using the Microsoft Speech Object Library. but I can only get it to speak using a male voice. Can't seem to find a way to add a female voice. Things I have found says there should be at least a male and a female voice loaded but only the male voice is there. Also, on my PC, i have the SAPI DLL in the C:Program FilesCommon FilesMicrosoft SharedSpeech directory and when i right click and check its properties it says it is version 5.1.4111.0....but when my project is built, the Interop.SpeechLib.dll that is created is version 5.0.0.0.

The code I have is:

Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Voice As SpeechLib.SpVoice

[CODE]...

Which speaks fine with the male voice. Haven't attempted the saving to a WAV piece yet since i can't get the female voice.

View 4 Replies View Related

Create A Set Of Grammar Rules For Speech Recognition Program With An Array

Jun 15, 2012

I have been trying to create a set of grammar rules for a speech recognition program with an array, but cannot seem to accomplish this task. Here is the general idea:[code]But this did not work, because I cannot convert strings into srgsoneof.

View 18 Replies View Related

Finding Detailed Information On Building Grammars Using Speech.Recognition?

Feb 17, 2011

I am having issues finding resources detailing building Speech Recognition grammars using VB.NET, Speech.Recognition.GrammarBuilder, and .NET 4.0.  I have found a few examples on the Internet, but they seem to just go over the basics. Does anybody know where I can find a good source on detailed information, as well as Speech development in general.  I mostly see links to class definitions, but no explanations and discussions. 

View 7 Replies View Related

Vista SAPI - Disable Automatic Learning Of Speech Recognition?

Aug 3, 2008

I have a question regarding the Vista Speech API. I have written a program using the Vista SAPI to recognize commands with the inprocRecoContext in VB.NET. Everything works well so far - the speech recognition is trained for more than one voice and it works really perfect! The problem is that after a while the speech recognition engine trains itself to a specific user or even to background noise such as the tv and the recognition doesn't work anymore. When I copy back the original trained profile it works again for a day or so.So my question is: Is it possible to turn off the automatic learning of the speech recognition engine?

View 5 Replies View Related

VS 2008 Speech Recognition Program For Visual Studio Express

May 9, 2011

I've been looking all over the internet trying to figure out how to incorporate Speech Recognition into a program I'm designing in Visual Basic.I've downloaded and installed: Visual Basic 2008 express edition, Visual Basic 2010 express edition, Speech SDK 5.1, and the Windows SDK version 7.1.

I'm not really sure what I'm doing wrong, or if maybe I have to use a different programming language like C# or C++...I don't know. I've looked through sample codes and tried a few, but in both Visual basic 2008 and 2010 they say the terms aren't recognized. like System.speech isn't recognized at all.

View 4 Replies View Related

VB 2010 - How To Convert Text To Speech

Jan 14, 2011

I am looking for a sdk with sample code for use in VB2010 to convert text to speech. I have the microsoft sdk but cannot get it working in VB2010 and I cant find any samples to use it. I would like to use this sdk, I just cant find any examples for me to play around with.

View 13 Replies View Related

ADVERTISEMENT