Click here to Skip to main content
12,077,457 members (50,823 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# audio
Good day,
I need help with this command i cant find how repair it.
It would be a recognition voice to text.

Problem:
...
private SpeechRecognitionEngine _recognizer;
 
private void button1_Click(object sender, RoutedEventArgs e)
{
...
 
    _recognizer.SetInputToDefaultAudioDevice();// All works but here is problem.
...
}
...
-------
When i run it.

System.PlatformNotSupportedException

No recognizer is installed.

Thanks for help and sorry for my English. Smile | :)
Posted 2-Aug-11 9:03am
Edited 2-Aug-11 11:34am
DaveAuld184.6K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Check your framework and your platform if it is supported. The requirements for this class can be seen here[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I have win7 and .NET Framework 4. I am using Visual studio 2010 and i am programming in C#.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160212.1 | Last Updated 3 Aug 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100