Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Speech Recognition - what reference do I have to add?

I'm trying to make a C# program that uses the Microsoft Speech Recognition API (with Kinect) but I'm struggling to get started. I have the using statements

using Microsoft.Speech.AudioFormat;
using Microsoft.Speech.Recognition;

But it's giving me the error "the type or namespace name 'Speech' does not exist in the namespace 'Microsoft'. Are you missing an assembly reference?"

Does anyone know what to add? System.Speech doesn't do the trick.

like image 406
user1002973 Avatar asked Apr 03 '12 22:04

user1002973


People also ask

How do I use Microsoft voice recognition?

Enter speech recognition in the search box, and then tap or click Windows Speech Recognition. Say "start listening," or tap or click the microphone button to start the listening mode. Open the app you want to use, or select the text box you want to dictate text into. Say the text you want to dictate.

How do I make Windows Speech Recognition more accurate?

Improve the accuracy of Speech RecognitionClick or tap on the system tray on the taskbar. Click or tap the microphone icon to open the Speech Recognition settings menu. Select 'Configuration'. Then select 'Improve voice recognition'.

Why is my speech recognition not working?

Here are some things to check first if voice typing isn't working: Make sure the microphone you want to use is selected in Settings. To check, select Start > Settings > System > Sound > Input > Choose a device for speaking or recording.


1 Answers

Make sure you add this assembly to your project: C:\Program Files\Microsoft SDKs\Speech\v11.0\Assembly\Microsoft.Speech.dll.

More details can be found on MSDN

like image 173
Philipp Schmid Avatar answered Sep 17 '22 15:09

Philipp Schmid