LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Voice Recognition with LabVIEW and Windows Vista

I am sorry to ask, there may be an obviose answer to this:

I get the voice recognizer to displaye the recognized word in its screen.  Where/how can I actually get a string of the recognized word outputed for comparison?
0 Kudos
Message 11 of 60
(5,166 Views)
I'm not sure if I follow the question. The recognized phrase is output to “Spoken String” in the SpeechRecognized Event Callback vi via reference. See if this helps: As for step 3, think about using System.Speech.Synthesis to have the program reply with voice confirmation.

Message Edited by FMonkey on 09-20-2007 11:32 AM

0 Kudos
Message 12 of 60
(5,156 Views)
Hi,

I worked on this, but I couldn't get the recognized string.  I think its because I am not %100 on LabVIEW yet and I have never worked with the .NET APIs Smiley Indifferent.  I have attached my project file as a zip, now if I could get the computer to say the recognized string instead of my "help me please" I think I can manage the event/case structures for the actual work being done for each command.

Thankx,
Help Me Please!
0 Kudos
Message 13 of 60
(5,127 Views)

HoSsEin,

Follow the diagrams I provided in previous posts. I've modified your project (see attached):

1. Added a “main.vi” that looks like post 12.
2. Changed your callback to look like “call” from post 5.
3. Changed SR to “init” from post 5.

I don't have Vista on my main computer (thankfully Smiley Wink). I hope there are few bugs. If you want to have something spoken other than the recognized text, perhaps a case structure within the event structure. Also, it is advisable to close your references and handle erros properly.

0 Kudos
Message 14 of 60
(5,081 Views)

FMonkey,

This is great!  I really appreciate your help ... thx.
I ran it on my XP (after installing speech SDK 5.1) and it actually works .... but it is slow and shuts down LabVIEW frequently Smiley Very Happy

I guess the part that I did have issue with was the following (picture).  What is happening there (just so that I know)?  I know there was a "string refnum" that was pointing to the "spoken text".  Can you explain how we take the string from that refnum?

0 Kudos
Message 15 of 60
(5,066 Views)

funny ...

FMonkey, liceli was me ... the PC I was using somebody else had logged in before me and I didn't check it before I post my reply.

So thanks again ...

0 Kudos
Message 16 of 60
(5,067 Views)

Hi HoSsEin,

I will try to give a short explanation without tripping over the proper terminology. Your best bet is to do a little bit of reading on:

1. References

2. Property Nodes

3. Invoke Nodes

Try a LabView manual or some internet searches. Perhaps the following article:

http://wiki.lavag.org/Control_References

An attempt at an explanation:

You can change the value of a variable (in this case a string control):

By either writing something to a “local variable”

Or by accessing the variable by reference and changing its “Value” Property (more precisely Value(sgnl)).

There are reasons for one approach over the other, but suffice it to say, the latter approach is used by callback vis. There may be a more simple solution to the whole thing, but I will let others advise.

Message Edited by FMonkey on 09-21-2007 07:53 PM

Message Edited by FMonkey on 09-21-2007 07:53 PM

Download All
0 Kudos
Message 17 of 60
(5,065 Views)
Hi Folks,
 
Even i'm looking for the same speech recognizer fan demo.vi which i saw it in web.
Right now i followed the mail chain and took the help me 2.zip and started using it...
but the main.vi is throwing some error....
Screen snap shot is attached below...
To be frank i am having only 1+yrs exp in lab view tool development and zero in active x components.
Actually i've to develope a voice tool for my current company which should actually do the basic things of speech recognition....
so please help me how to make this vi running .....
or provide me any help in developing my project...
 
Here lies a basic description about my project.
One .wav file is a library file (already stored in a folder)
Second .wav file is recorded as .wav from the Microphone for a specific time...
And finally these two need to be compared.....
One thought of comaprison i thought is to change this .wav to array of points
and then compare point to point.....
But timing issues will also be there which need to be taken into consideration.....
So please let me know if u have any VI or worked on any such kind of VI....
 
 
 
Cheers,
Suneel.V
0 Kudos
Message 18 of 60
(4,865 Views)

Hi Suneel.V,

I have found another discussion forum that deals with this same error and I think it might be able to help you out a bit. One other suggestion about this is I wanted to verify that you have the DotNet Framework and the Microsoft SpeechSDK 5.1 installed. I think that you might need these two things in order for the example to work. I hope that helps!

National Instruments
Applications Engineer
0 Kudos
Message 19 of 60
(4,821 Views)
Hi all,
 
Thnaks for ur responses.....
Do anybody know what are the other language support packages available
for sppech recognition using MSAgent in the 203644.zip package...
Right now i modified the VI and started using for English language...
I also need the other language support such as French and Spanish....
 
Do we have to buy other agents similar to LV6i from the third party...
If so please let me know who are selling them..
Or are they available free to lab view....
 
Reply immediately...
 
Cheers,
Suneel.V
0 Kudos
Message 20 of 60
(4,769 Views)