Click here to Skip to main content
15,883,623 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Can anyone please suggest me some code for voice recording and matching.
thanks
Posted

Use MS Speech SDK 5.1, this can help you.
 
Share this answer
 
Comments
djrocks0101 4-Jul-11 14:46pm    
thanks
Use the .NET assembly "System.Speech.dll" (add the reference "System.Speech") and either the class System.Speech.Recognition.SpeechRecognitionEngine or System.Speech.Recognition.SpeechRecognizer. Be careful: first one requires thread apartment state STA and second one — MTA; this is not well documented and exception thrown as a result of running it in a wrong thread is not informative.

See: http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine.aspx[^],
http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognizer.aspx[^].

—SA
 
Share this answer
 
v2
Comments
Prasanta_Prince 4-Jul-11 23:36pm    
Really a good one SA. 5 from me :)
Sergey Alexandrovich Kryukov 4-Jul-11 23:44pm    
Thank you, Prasanta.
--SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900