Click here to Skip to main content
15,913,939 members
Everything / Speech SDK

Speech SDK

Speech-SDK

Great Reads

by Menrfa
In this tutorial, we will work through how to create a spoken English assessment Flex application using AISpeech API and their ASSDK (ActionScript SDK).
by Menrfa
In this article, we are going to build up a more completed version. We will explore almost every main methods ASSDK has provided, in addition to looking at those ASSDK returns and responses.
by davehibshman
A simple command line based app to announce the currently logged on user using the Speech API
by Intel
This is a "Getting Started" guide for the Intel® Speech Enabling Developer Kit

Latest Articles

by Intel
This is a "Getting Started" guide for the Intel® Speech Enabling Developer Kit
by davehibshman
A simple command line based app to announce the currently logged on user using the Speech API
by Dan Thyer
Remote control a squirt gun, open the garage, and water the garden all through .net
by Menrfa
In this tutorial, we will work through how to create a spoken English assessment Flex application using AISpeech API and their ASSDK (ActionScript SDK).

All Articles

Sort by Score

Speech SDK 

26 Jul 2011 by OriginalGriff
For goodness sake! You need to do some basic research into voice regocnition. As I suggested to you yesterday, google can help, but you are going to have to do some work.The simple approach you are trying to use will never work. Why not? A first, simple reason:When did you start talking...
27 Jul 2011 by Sergey Alexandrovich Kryukov
Totally wrong approach! I agree with Griff. Your problem is fairly simple.Store text password in your database. Do it in hashed form using some cryptographic hash function, see http://en.wikipedia.org/wiki/Cryptographic_hash_function[^]. Use one of the functions from the SHA family, see...
19 Dec 2011 by Sergey Alexandrovich Kryukov
You need to reference the assembly System.Speech — a standard .NET library and use System.Speech.Recognition namespace. Start from here: http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[^].It strange that you did not find it.—SA
23 Apr 2011 by OriginalGriff
Of course it is complicated!But you could have found an example quite simply: Google "system.speech example" and MSDN is top of the list:http://msdn.microsoft.com/en-us/library/bb608250.aspx[^] - the example is probably not simple either (given you have to download a project rather than just...
7 Jun 2011 by MrDooDoo
Hello every oneI am new in SAPI.Is there any way to get Phonetic transcription of a word and showing it using SAPI.(for example Babylon can display phonetic of words but these phonetics are not stored in Glossaries)Thanks!
17 Jun 2011 by jrnogi
Hi Guys,I need your help, please enlighten me.I need to create a software that can understand Filipino Words (i already created the grammar)my software understands me very well but it cant recognize other people's voice.So in order to have a good accuracy and to be able to...
30 Jul 2011 by Wonde Tadesse
In addition to what is given as solutions, Microsoft provided easy and interesting Speech class in .NET framework 4. Here is the whole MSDN article.System.Speech.Recognition Namespace[^]
19 Dec 2011 by Suresh Suthar
First refer to SA's solution and also look at these...
10 Apr 2012 by Menrfa
In this tutorial, we will work through how to create a spoken English assessment Flex application using AISpeech API and their ASSDK (ActionScript SDK).
8 Mar 2013 by Sergey Alexandrovich Kryukov
In general case, there is no a way of to recognize the language. The problem is simply ill-posed. For example, a sentence can be written in two languages, by whatever reason. If both languages use Latin script and some words of the languages have identical spelling (but may be different meaning;...
19 May 2019 by Thomas Daniels
Check out the Choices[^] class in the System.Speech.Recognition API. A Choices object is something you can append to a GrammarBuilder with .Append, and you can create a Choices both out of a String array and a GrammarBuilder array. I've never done experiments to this extent but Choices should...
13 Mar 2010 by Eddy Vluggen
S.Raaj Nishanth wrote:Now when i give a really long sentence, it continues speaking till it finishes the sentence. Is there any way to stop the speech in mid-sentence?Yup, this should do the trick:void Button1_Click(object sender, EventArgs e){ obSpeech.Speak("",...
17 Aug 2010 by abeerHajAli
Dear alli have a problem that i am trying to solve from few days but I cant find any solutionI am developing a windows application using VB.NET 2008, which is intended to be used by blind people , so user can use his voice as a Commandi need to disable speech dictation from windows...
9 Mar 2011 by Piccadilly Yum Yum
Placing an Application.DoEvents() ?
8 Apr 2011 by Sergey Alexandrovich Kryukov
You cannot use anything from System.Speech to access the raw source of the audio. There is nothing like that in the engine. Instead, you still need to use the same source of audio data to feed to the System.Speech engine (I guess, the recognizer) and to your spectrum analysis unit. What is you...
16 Sep 2011 by Sergey Alexandrovich Kryukov
Well, create an associated container such as std::map (http://en.wikipedia.org/wiki/Map_%28C%2B%2B%29[^]) to find digits by their names. The words like "one", "two"… will play the role of the keys, the digits will be found as characters, so you will need std::map. Use...
9 Dec 2011 by Manoj K Bhoir
Check out this Links :http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[^]http://msdn.microsoft.com/en-us/magazine/cc163663.aspx[^]See this article : http://msdn.microsoft.com/en-us/magazine/cc163663.aspx[^]
20 Mar 2012 by TorstenH.
Check this:https://code.google.com/p/wami-recorder/[^]could be pretty helpful.
16 Aug 2013 by Thomas Daniels
Hi,Probably, "My Computer" is capitalized, so the input is "My Computer", which is NOT equal to "my computer"!Try this:void gramer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e) { string resultText = e.Result.Text.ToLower(); if (resultText ==...
11 Oct 2014 by Mehdi Gholam
Speech recognition and specific person identification are advanced research topics, if you did this you could make a lot of money.Start here : Get Started with Speech Recognition[^]http://en.wikipedia.org/wiki/Speaker_recognition[^]
22 Nov 2009 by awahab07
i want to develop an application in visual studio in vb.net which is capable of converting voice at real timei.e. the application first captures some persons voice while he speak some words in the microphonenow the other person can speak anything in first person's voice which is already known
23 Nov 2009 by Christian Graus
I doubt this is possible.  You'd have to do some heavy duty analysis to take one voice sample, and from that, know how to dynamically turn any other voice, into that voice.  If you don't know where to even start, I'd be astounded if you were capable of doing it.  If I was asked to do this task, I'd
13 Mar 2010 by S.Raaj Nishanth
I making a Windows Form app that uses the Speech SDK (SAPI 5.1) to do some text to speech functions. Here's the code I'm using.using SpeechLib;public SpVoice obSpeech = new SpVoice();obSpeech.Speak("Some really long sentence", SpeechVoiceSpeakFlags.SVSFlagsAsync);Now when I give a...
7 Mar 2010 by itresearches
I want to train a user for a word in sapi using C# is it possiblealso is it possible to add and edit lexicons in sapi ?
7 Mar 2010 by Richard MacCutchan
I expect the answer to both questions will be yes. Further information should be found here[^].
15 Mar 2010 by S.Raaj Nishanth
That worked beautifully!!! Thank you very much! :) :) :-D
8 Apr 2010 by itresearches
thanks but I mixed upcan you write a simple sample about training the sapi in win xp (sapi 5.1) for a specific word?thanks so much!:thumbsup:
13 Apr 2010 by jailtonjr
Hey friend, i'm from brazil and I buildin a project to my university... And could u help me send me some articles and projects about speech reconition??! i thank u!
13 Apr 2010 by Ron Beyer
Look into the Microsoft SAPI (Speech API)
13 Apr 2010 by Abhinav S
See here.
21 May 2010 by wasium
I need to know how to change voice from men to women or women to men in .net. Kindly give me the code if anyone knows with sample application.
1 Jun 2010 by Abhinav S
By soapi.wsdl I would assume you mean SOAP.In that case, it will be very difficult to answer this question as only you are aware of the schema of the web service you are trying to talk to.Check if you have some documentation that you can consult.
18 Aug 2010 by abeerHajAli
Thanks God :)finally , i found a solution , may be someone will need it one day :)speech recognition can work in two modes , either command-and-control or dictation mode , both can be disabled in any application through registry editor , to disable dictation for some application from...
18 Oct 2010 by Richard MacCutchan
Take a look here[^] to learn about the speech API, and some sample code to get you started.
8 Nov 2010 by ss_man
I am using MSASR to develop a program of recognizeing people's speech.Because i can't figure out who people will use this program,so i can't create reco profile for them.Is there a method training the engine every time before some us this program.I mean train it without UI,and peopel need...
15 Nov 2010 by Abhinav S
See here[^] for a brief example.
6 Dec 2010 by ErrolErrol
Thank you, in advance, for any assistance that you may lend. I am using the voice recognition software found in Windows 7. I am also using the additional macro recognition software from MS. An example of usage would be: I utter the word "foobar" and instead of typing those characters on my page,...
8 Dec 2010 by ErrolErrol
Hi Me! First things first. I really want to thank the 49 people that took a look at my question, shrugged and headed off to do something worth their time. I do appreciate very much the moments of your lives that you spent trying to help me.It turns out that I should have been trying...
19 Dec 2010 by OriginalGriff
100%All my software projects in the year 2009 were successful. However, I was spending a year dead for tax reasons.
27 Jul 2011 by version_2.0
Hai all,I have a doubt..I know that with out Grammar System.Speech.Recognition.SpeechRecognizer will not recognize any word(will give error)..How can I recognize a word without language...what i mean was i need the exact text(string) or possible text(string) form the speech..I...
27 Jul 2011 by Christian Graus
If the speech SDK only tries to recognise real words, then you're hosed. If not, tell it to recognise English and see what you get.
7 Aug 2011 by jithinpl
You can use SpeechSynthesizer Class for how to pronounce a word.Sample C# CodeSystem.Speech.Synthesis.SpeechSynthesizer sp= new SpeechSynthesizer();sp.Speak("Hello");Sample VB CodeDim sp as new System.Speech.Synthesis.SpeechSynthesizersp.Speak("Hello")
6 Sep 2011 by nitin_roy_scorpion
How do we simulate key board functions using SAPI.I mean to say, if I say "F1", then Help menu should pop out.Can anyone please explain the flow.Thanks
15 Sep 2011 by nitin_roy_scorpion
Hi,I tried to develop a small experimental application which will convert Speech to text and populate the same on an EditBox. Its working absolutely fine(Thanks to Codeproject !! :))Now I want it to populate digits what I say. for example if I say "7" it should populate 7 on the editbox...
9 Dec 2011 by girly111
Hello! :)I'm planning on developing a simple text editor with speech recognition for my school project but I really don't know what resources I need or what API to use or even what language is most suitable. Really appreciate if anyone can suggest how to start with! :)
9 Dec 2011 by Sergey Chepurin
I cannot imagine any simple speech recognition application. But if you are familiar with C#, there is a sample application included in Windows 7 SDK.You can find it in C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech\cs\speechrecognition.
19 Mar 2012 by SMVK
I am trying to develop a web application, that would record inputs from client(who would say his name alphabet-wise) and pass it to server.There i have a sphinx4 program to decode it to text...The transcriber example of sphinx voice recognizer suits my requirement, i want to modify it to...
20 Mar 2012 by SMVK
I am trying to develop a web application, that would record inputs from client(who would say his name alphabet-wise) and pass it to server.Now i am trying out applets to record audio in client side and use javascript to passs it to server.I got to know about Web-kit to pass audio input to...
10 Apr 2012 by Menrfa
In this article, we are going to build up a more completed version. We will explore almost every main methods ASSDK has provided, in addition to looking at those ASSDK returns and responses.
6 Aug 2012 by eladweiss06
Hello,I want to build an application like the one in the old cellphones, where you could record someone's name, and then call that person by saying it (for example, while you were driving).I tried microsoft's speech SDK, but it didn't even come close to understanding what I'm trying to...
6 Aug 2012 by Bernhard Hiller
Perhaps you tried to big a thing when you played with Microsoft Speech Recognition: using its full vocabulary.Create a small vocabulary - containing only the names you want to recognize, and their pronounciation. You could start with recognizing simple numbers (one, two, three,...) before you...
29 Oct 2012 by Harish jagtap
How to develop a speech recognition program in win7? What are the steps for installing the Speech SDK in win 7?
30 Oct 2012 by a1mimo
Try to google what you need it's better than waiting for someone to answer youmsdn for using speech recognition[^]msdn for the class[^]Hope this helped
1 Dec 2012 by Jeff Kang
Disable dictation with the Vocola command, "Text Off":Disable()Namespaces ► Library ► Dictation ► DisableDisables Vocola dictation.SyntaxDisable()ExamplesDisable Vocola dictation.Text Off = Dictation.Disable();Saying "Text Off" disables Vocola dictation.This is one of...
5 Dec 2012 by Member 9661583
can anyone help me in step by step creation of a speech recognition system using C# and DirectSound X
5 Dec 2012 by Krunal Rohit
Using C# to do Voice Recognition using the built in SpeechRecognitionEngine Class[^]
10 Dec 2012 by d3v1l401
When i set the culture en-US,it returns this error: (Italian) Impossibile trovare un riconoscimento con l'ID richiesto. (English) Can not find recognition with required ID.The code that i'm using is equal to the MSDN's one.Many solutions?
21 Jan 2013 by Raajendran
Hi I am working in iPhone application, I want to develop speech conversion to text in objective-c.I tried my level best but i can't get any tutorial for this, please help me.How to convert speech to text?
21 Jan 2013 by Sandeep Mewara
Here, similar question asked and is marked as an answer: Convert the voice to text in iPhone[^]Answer is:In short, there are no APIs for recording phone calls or converting text to speech. You will need to create a speech recognition engine. I suspect the iPhone hardware will not be...
9 Mar 2013 by rong_wang
Thank you for your reply.I’m afraid that I didn’t present my problem clearly.I try to recognize English sentences using the SpeechRecognitionEngine class ,which is part of SAPI5.4,on an Chinese Windows7 which has installed the Microsoft Speech Recognizer 8.0 for Windows (Chinese Simplified -...
6 Nov 2013 by Bernhard Hiller
"I formatted my system"And now you have to set up speech recognition again. Create a speaker, train him, ... etc. In Windows.After that, try againwith your program.
26 Mar 2014 by Devil_06
I am Developing an Simple Speech recognition application which recognizes a some wordsi am confused between using System.Speech.Recognition and Microsoft.Speech.Recognition because both are almost the same ! i cant make out which should i use !i want to try my app to be optimized...
26 Mar 2014 by littleGreenDude
Check this out http://social.msdn.microsoft.com/Forums/lync/en-US/39ec282d-cc51-49c7-9686-0e4d3f9b8516/what-is-the-difference-between-systemspeechrecognition-and-microsoftspeechrecognition?forum=ucmanagedsdk[^]
27 Aug 2014 by Abhinav S
Some articles that might help you -A Simple Speech Application Using SAPI 5.1 SDK[^]Working with the MS Speech SDK in C#[^]Text to Speech with the Microsoft Speech Library and SDK version 5.1[^]
11 Oct 2014 by Afzaal Ahmad Zeeshan
Well, to be generally speaking about Speech, you can always use Microsoft's Speech APIs. http://msdn.microsoft.com/en-us/library/system.speech.recognition(v=vs.110).aspx[^].But as already said, you need to work around on this project, as it is really very hard to find the specific patterns...
1 Nov 2014 by OriginalGriff
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...A very quick search gave over 5 million hits: Google: open source speech recognition[^]In future, please try to do at least basic research yourself, and not waste your...
29 Nov 2014 by Me is Needer
hello every one.i have made a simple program which read a text (TTS- text to speech)by whith defualt voice which is Microsoft Anne, then i download SDK 5.1 to add new voices. but the added voices is not clear and not activated in c#code to read.help me how can i add new voices , please ??
13 Dec 2014 by Me is Needer
Hello every one, i have done text to speech program of English language , but i want also make it for Arabic Language , but is there a tool of Reading Arabic Language or no ??i heard that there is which connect with Google !Can anyone help and guide me, please ?Thanks for advance
14 Dec 2014 by Sergey Alexandrovich Kryukov
Sure. Somewhere here: http://bit.ly/1yRRfvd[^].—SA
5 Mar 2015 by Santhosh Kumar Chindam
Hi,am developing a windows store app using C# and xaml.In my app i want to implement Speech to text functionality.My app works without internet connection.I need to implement speech to text functionality in my app which should work without internet connection.Is there any...
5 May 2015 by Aditya_Goud
hi i am developing a Windows phone application. where i need to convert speech to text .. i am using the following code .. but a debugg error is facing me .. plz tell me where i am wrong or else do i have any other method .addedID_CAP MICROPHONEID_CAP_SPEECH_REGOGNITIONadded using...
7 May 2015 by Aditya_Goud
here is the perfect link ! the solution is to enable speech recognition in mobile too ! http://www.bjarneryd.se/?p=115[^]
17 Oct 2015 by Naveen_Coder
Hello friends, I started new project. I want to know about system.speech, I want to change the system.speech language in other language Is anything possible to do this.I started alone guys..I belief you. please send your suggestion and comments to me.
17 Oct 2015 by Abhinav S
From SpeechRecognitionEngine Constructor [^] - "Microsoft Windows and the System.Speech API accept all valid language-country codes. To perform speech recognition using the language specified in the CultureInfo argument, a speech recognition engine that supports that language-country code...
5 Apr 2016 by DanLegacy
Hi all,I am working on a project that I need to transcribe phone recording files to text; and there are about 200 audio files/day. I tried Microsoft Speech SDK for desktop (system.speech.recognition) by using Dictationgrammar:speechRecognizer.LoadGrammar(new DictationGrammar()); but the...
9 Apr 2016 by davehibshman
A simple command line based app to announce the currently logged on user using the Speech API
15 Dec 2017 by Intel
This is a "Getting Started" guide for the Intel® Speech Enabling Developer Kit
16 Apr 2018 by Exergist
I'm very close to completing a personal project for modifying the Windows speech dictionary via C# (SAPI 5.4). The last bit I'm working on is how to get the SAPI phone set for a given word. I've found a way to do this via a C# form and spoken recognition obtained through SpSharedRecoContext....
19 May 2019 by TheRorooo
I am trying to recognize instructions using speech recognition in C#. These instructions consist of a vocabulary of set phrases I know. So far nothing is working the way I need as I need to be able to recognize these phrases when they immediately follow each other in continuous speech. Depending...
27 May 2022 by kkkwj
I have a working C# Windows 11 app that uses the NuGet package System.Speech for recognition. But my code only specifies grammars containing specific words and phrases to do the things I want it to do. I would like to specify a grammar that...
17 Jun 2022 by kkkwj
I was trying to figure out a way to do what Dragon Naturally Speaking has done for years, where you can define matching strings of the form "my keywords here ". Dragon matches your command on the first (specified) words and passes in...
3 Nov 2014 by User 9379064
Hello everyone,I'm needing some help with the Speech Recognition thing. I basically put it into an application, that when you press a button, it starts listening to you.The thing is that I can't NEVER abort the BackgroundWorker. It just never ends, and never stops, even thought it can only...
21 Jan 2012 by khbegim
Hello for everyoneHow to create own (in my case Tajik) Engine to speech text in tajik.I create project in vb.net to speech text with SAPI in English LanguageSo I want to create my own voices and save in new EngineThank YOU
3 Jan 2015 by Dan Thyer
Remote control a squirt gun, open the garage, and water the garden all through .net
5 Mar 2011 by hepicoder
Develop an application in Visual C#.NET called "Understand and Read It!".
8 Apr 2011 by QwertyXoid
Hello!I have a little problem in my win forms application.The main idea was to show the spectrum/oscillator, of the out going sound of the System.Speech.It supposed to look like this:http://img196.imageshack.us/i/spectrump.png[^]I've found a lot of projects but 99% of them was...
15 Aug 2013 by CodeBlack
Follow below link. It has nice explanation :Speech recognition, speech to text, text to speech, and speech synthesis in C#[^]
7 Mar 2011 by atanuCSE
I'm working on a project which will speak the content of browsed web page.Browser is made by me using WebControl. I'm using SAPI for speech engine. I wanted to highlight the line in web page while reading that trough SpVoice.speak. But the problem is that if I use this speak method in...
5 Dec 2012 by OriginalGriff
Google can: speech recognition system using C# and DirectSound[^]In future, please try to do at least basic research yourself, and not waste your time or ours.
27 May 2010 by Chris Overson
Hi thereI'm trying to use SpeechLib with my project to respond to specific commands within my program using speech recognition.Every time I initialize the speech recognition section of the code, it starts the Windows 7 Speech Recognition which then tries to listen to everything I say,...
31 Mar 2011 by atanuCSE
I've made a browser with WebControl. now I want to read and highlight the text. So I split then sentences and start a loop.now the problem is,with a Synchronous call of SAPI to speak the sentences,every other button of the browser stops working.I can't pause,resume or even exit the software....
23 Apr 2011 by Frank R. Haugen
Hi, I am playing around with TTS using the Speeach SDK in C#, and I found it very simpleexample(fully functional TTS program in C#):using System;using System.Collections.Generic;using System.Linq;using System.Text;using SpeechLib;namespace SpeechTest1{ class Program ...
10 Jun 2011 by grad_stu
Hi,I want to improve the speech recongnition in C#. Currently i'm using a custom Grammar with some commands, but when i speak some words, the recognition engine confuses those words with the commands stored in custom grammar.In Speech Recongnition, is it possible to define your own...
15 Aug 2013 by Sumeet Kumar G
I'm working on a uni project to control your PC through voice, means when i say open my computer, then my-computer open, or control other functions,i have tried a lots of time but stuck in between code, my code gets voice input from user but doesn't comparehere is code: { ...
22 Jan 2012 by Ahmed Yosri
Dear Khbegim, I want to tell you that there's nothing impossible, but creating a text to speech engine is an operation that takes a lot of work and time and probably it doesn't depend on your stored voice because there's a lot and unexpected words the user may write for the program...
19 Dec 2011 by Vasim889
How to convert speech to text in .net 3.5? If anyone knows any means, please explain to me. I am tired of searching an answer in google. It's a challenge for senior developers because means of this tecnology is already started in mobile phones.Please post links to some articles or code...
8 Mar 2013 by rong_wang
I am using an Chinese Windows 7 with speech recognition working fine if I use the grammar to recognize English sentences which is constructed with the object of Choice.But the object of SpeechRecognitionEngine only can arise SpeechDetectedEventArgs and doesn't arise...
26 Jul 2011 by version_2.0
Hai all,I am devolping an application, for that i need to use voice athentication in C#..I have saved my password(as voice not text) in SQL server as image datatype,and while in time of authentication(login).I am getting user input as .wav file to my Application Startup...
10 Mar 2014 by vikro
how to pitch contour stylization based on a tonal perception model and automatic or annotation-based segmentation using .net
1 Jun 2010 by mmadhuri
Hi, I have to Implement Text To Speech in Asp.net by using a file soapi.wsdl. I have no experience that how to use it. can Any one guide me with Your good Experience.