Questions tagged [system.speech.recognition]

The System.Speech.Recognition namespace contains Windows Desktop Speech technology types for implementing speech recognition. Its part of the .NET Framework.

The System.Speech.Recognition namespace contains Windows Desktop Speech technology types for implementing speech recognition. Its part of the .NET Framework.

The Windows Desktop Speech Technology software offers a basic speech recognition infrastructure that digitizes acoustical signals, and recovers words and speech elements from audio input.

Applications use the System.Speech.Recognition namespace to access and extend this basic speech recognition technology by defining algorithms for identifying and acting on specific phrases or word patterns, and by managing the runtime behavior of this speech infrastructure.

49 questions
2
votes
0 answers

Force detection of all words, even acronyms

I need to recognize phrases like "CN Detector Yale". I only want a successful recognition when ALL elements of the phrase are spoken, including the acronym. However, I am finding that I am getting successful recognitions in cases where only…
2
votes
1 answer

Issues with System.Speech.Recognition - SpeechRecognitionEngine Doesn't Pick Up Speech

I am having major issues trying to implement a sample provided by Microsoft on how to use the SpeechRecognitionEngine (https://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine.speechdetected(v=vs.110).aspx). Here…
2
votes
1 answer

Using microsoft speech recognition, could I get the time when half of the grammar has been recognized?

I want to use the grammar like this: This is + name. The code is : GrammarBuilder grammar = new GrammarBuilder(); grammar.Append("This is"); gammar.Append(new Choices("Bangalore", "Sanjay", "Cindy",...)); _recognizer.LoadGrammar(new…
cindywmiao
  • 937
  • 2
  • 11
  • 26
2
votes
1 answer

Have Speech Recognition pick a single word out of a sentence

I am working with System.Speech.Recognition in VS2012 on Windows7 64 bit. My issue is that when a user starts to speak the recognition engine seems to listen to everything that was spoken (i.e. the whole sentence "Please close the active program")…
1
vote
0 answers

Using a MemoryStream with .NET's System.Speech SpeechRecognitionEngine class

I am trying to use .NET's System.Speech SpeechRecognitionEngine object to recognize words spoken by a discord user in a voice channel. The raw pcm audio received by the bot is written to a MemoryStream, and I am trying to get the…
Cojack
  • 37
  • 1
  • 9
1
vote
2 answers

'Speech' does not exist in the namespace 'System'

In Unity, trying to use System.Speech in my C# script and I am getting this error: The type or namespace name 'Speech' does not exist in the namespace 'System' (are you missing an assembly reference?) I downloaded the System.Speech.dll and put it…
luthien
  • 1,285
  • 3
  • 15
  • 26
1
vote
0 answers

System.Speech.Synthesis.SpeechSynthesizer methods throw "asynchronous operation cannot be started at this time" exception."

This question is very similar to this (unanswered) one: SpeechSynthesizer in ASP.NET - async error I am trying to use System.Speech methods in an ASP MVC project but if I do something like this: [HttpGet] public ActionResult…
1
vote
1 answer

Voice recognition using System.Speech not working correctly

I have been trying to experiment with the system.speech feature I have seen various online videos and web articles teaching how to properly use it, but I can't get it to work somehow. I get no errors, the program compiles as it should but when I…
1
vote
1 answer

How do I get raw phonetics data with System.Speech in C#?

I would like to know how to get the raw phonetic data from System.Speech in C#. World or sentence recognition work great, but it's "interpreted" to give a coherent and grammatically correct sentence. I don't want that; I am looking for a way to…
Alex
  • 23
  • 6
1
vote
0 answers

C# Voice Recognition code not working on some machines

I have made a voice recognition program in C#. It was all working fine and then randomly stopped working. Now it doesn't respond to any input or say the first output s.Speak("hello, how may i assist you?"); when it's started like it's supposed to. I…
1
vote
1 answer

System.Speech recognition error

I am writing a speech recognition program using system.speech from MS. I have been going through the online tutorials and all the great info on StackOverflow however i seem to keep running into an issue where the recognizer seems to throw an…
CoreyZ
  • 189
  • 2
  • 3
  • 11
1
vote
1 answer

Is it possible to see remaining valid choices during speech recognition?

I am working with System.Speech.Recognition.Choices class, and I would like to have a way to present to the user the possible choices remaining for the given speech session (I'm not sure of the correct term here). For example, if the choices are…
Erick T
  • 7,009
  • 9
  • 50
  • 85
0
votes
1 answer

How to Permit Various Orders of Choices with GrammarBuilder

I am working on a simple voice recognition application. I need some help with GrammarBuilder. Here is what I have tried: Choices choice1 = new Choices(....); Choices choice2 = new Choices(....); Choices choice3 = new Choices(....); GrammarBuilder…
kr13
  • 527
  • 4
  • 8
  • 22
0
votes
1 answer

Please tell me how to change the microphone device of "Speech Recognition Engine"

I'm currently using the "Speech Recognition Engine" to check if there is a human voice. The accuracy of recognition is not good enough, but for the time being, it works well in that it picks up human voices. However, I am in trouble because I can…
0
votes
1 answer

"SpeechSynthesizer" not working after publish on Azure Web App (.NET Framework 4.7)

So, I'm using .NET Framework 4.7 Web API and using "System.Speech.dll" to speak some text, save to WAV, convert to MP3 (Using LAME), then append to start of another MP3 and return back the updated MP3. Everything works perfect in my local. Here's…