Bing Speech Recognition Control for Windows 8.1

Microsoft Free

Integrate speech recognition into your Windows 8.1 Store apps with the Bing Speech Recognition Control. The control accepts voice input through the microphone and returns the recognized text to the application.

(1) Review
Visual Studio
Download (9,756)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (1)
Q and A (12)
Sign in to write a review
Sort by:

by serkan cakmak | December 16 2014

thx I will try it

Sign in to start a discussion

  • Confidentiality of data in healthcare app's
    1 Posts | Last post August 10, 2015
    • What does Microsoft do with the submitted audio and the recognized text results? Specifically, does Microsoft support HIPAA and Business Associate Agreements with organizations that want to use Bing speech recognition in healthcare app's? For example, we would like to use it in a doctor portal app that deals with patient healthcare records. Thanks!
  • Access is denied on bing voice
    1 Posts | Last post June 12, 2015
    • Hi,
      I am getting "Access is denied" error when running the sample app at:
      I have obtained a client id and a secret id from Azure Data Market and inserted them into the sample code. I repeated the process and obtained a second client Id and secret id with the same result. I made sure the name of the app matched the name indicated in the "Registered Application" form.
      Is there a time delay between registering the app and it becoming available for access via bing speech?
      Everything else seems to work except the id, and I followed the steps indicated for getting a client Id and secret id.
      The code is EXACTLY the same as the sample except for the keys.
      Any ideas?
  • Class not registered Exception while initializing a new instance of the SpeechRecognizer class
    3 Posts | Last post April 20, 2015
    • Hi,
      in my Windows 8.1 Store App with HTML/Javascript I want to use Bing Speech Recognition Control.
      But when I call the contructor of Bing.Speech.Recognizer-Class with the language and the authorization parameters a WinRT "Class not registered" error occurs.
      Even in this Voice-Translator-Sample the same error occurs:
      What could be the reason for this problem?
      Thank you very much in advance!
    • I have found the reason for this problem.
      It was the update 4 for Visual Studio.
      A complete reinstall (without update 4) helped.
    • What is the status of this. Rolling back to Update 3 is not feasible. When will this work with Visual Studio Update 4?
  • Why is the Bing Speech Recognition not available on my market? (Taiwan)
    2 Posts | Last post February 12, 2015
    • Hi,
      Because I think that speaking and listening are both good stimulations for memorizing things, I wrote an universal App for this idea. When I tried to subscribed Bing Speech Recognition Control in Azure MarketPlace, it showed me that it is not available on my market since my country/region was setting as Taiwan. Did I set something wrong or it is really unavailable for the market outside United States?
      Sincerely Yours,
      Young-Chung Hsue
    • I got the answer from and from windows forums in Taiwan. Thanks to them.
  • Bing Speech Recognition Control for commercial use
    1 Posts | Last post January 13, 2015
    • Hi, I would like to use Bing Speech Recognition Control in commercial use. Is it possible? How could i increase amount of 500.000 transactions? 
  • Post .wav to bing.speech web service
    4 Posts | Last post January 08, 2015
    • I assume somewhere under the covers there is a web service that processes voice recognition requests.  Is it possible to access this web service and pass it a .wav file or stream rather than using the microphone?  I have voicemails that I would like to transcribe.
    • Just an idea, but maybe try using WireShark ( to sniff the requests you're sending out?
    • Our backend web service is not accessible by any other means except through the API. At this point, the API does not provide the functionality to read the input from a .wav file. In future releases we will consider this functionality. 
    • Can use a program called virtual audio cable to loop from speakers to microphone. Then, just programmatically load wav files into a queue and play one by one 
  • connection problem
    1 Posts | Last post September 19, 2014
    • hi, i ha a connection problem with the speech recognition. he show "Errors encoutered while connecting to the service" .it doesn't work with the enterprise network. i use Wireshark to capture packet and i have seen the problem, it's proxy problem. but i don't know how to fix this problem.
      Thank you very much in advance!
  • Access to the service is denied?
    2 Posts | Last post September 18, 2014
    • Hi!
      Any idea why I am getting this Exception after calling RecognizeSpeechToTextAsync?
      "Access to the service is denied."
      I am using my "Customer ID" as ClientID and my "Primary Account Key" as ClientSecret.. Is this correct? I followed the example from the documentation but couldn't go further because of this error..
      Thank you very much in advance!
      André Lima
      Microsoft MVP - Windows Platform Development
    • Make sure that you provide the correct set of credentials. You have to define an application in the Azure Market Place ( The Bing SpeechRecognizer expects the Id and Secret of this application, not the ones from your account.
      Diederik Krols
      Microsoft MVP - Windows Platform Development
  • Unknown type SpeechRecognizerUX in namespace Bing.Speech.Xaml in c++/cx
    1 Posts | Last post September 11, 2014
    • Hi, I am trying to use the Bing Speech Control on a C++/cx store app.
      But I got some problems at UI design with an error WMC0001: unknown type SpeechRecognizerUx in XML namespace using:Bing.Speech.Xaml
      Also, in code behind trying to bind the SR to the Bing Control, it throws an error saying incomplete type is not allowed.
      Can you help me that? Is there possible to use bing control on a c++/cx store app?
  • Timeouts when rejecting too much...
    9 Posts | Last post June 15, 2014
    • Are you guys using some kind of denial of service checks that causes timeouts in situations where the recognizer gets invoked repeatedly and returns with rejected results? That's what I'm seeing right now. If so, what's that timeout, so I can work around it? It seems to be something like blocking of IPs after 10 failed attempts in a minute...
    • Actually, it seems to happen JUST when calling RecognizeSpeechToTextAsync() too soon after having previously called it...
    • Hi Affiliate,
      Because the RecognizeSpeechToTextAsync() method runs asynchronously, you will need to structure your code in such a way as to prevent more than one instance from running at the same time. This may require disabling the UI elements that invoke it until you receive a result or until RequestCancelOperation() is called.
      I believe the UI control does this automatically.
    • I should have been more clear. My only running thread is, in fact, awaiting the RecognizeSpeechToTextAsync method; I'm not using this method concurrently in multiple threads. Just one thread at a time. So what I mean to say is...if thread A calls RecognizeSpeechToTextAsync, awaits it, has it return, then quickly calls it again, it will fail. If you guys require extra time to do cleanup after an invocation of RecognizeSpeechToTextAsync, I suggest you await that in the same method so that a quick re-invocation of RecognizeSpeechToTextAsync fires properly.
    • Three questions: 
      - What exception do you encounter? 
      - Are you enabling the UX component as well?
      - Can you share a snippet of the code? I guess that you are trying to use a scenario that is not really supported, yet I would not expect us to fail ;) We are looking into this but we could not find a repro with or without the UX being enabled. 
    • Sorry for the delay; just thought to check the messages again now! Gabriel, here is the exception:
      exeption.Message: Timeout waiting for service response
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
         at Bing.Speech.API.NlApiOperation.<>c__DisplayClass2`1.<<Run>b__0>d__9.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
         at Snippet.MainPage.<ListenForSpeech>d__32.MoveNext()
      Code to Reproduce:
      private async void ListenForSpeech()
                  string exceptionMessage = null;
                      SpeechRecognitionResult result = await speechRecognizer.RecognizeSpeechToTextAsync();
                      if (result.TextConfidence != SpeechRecognitionConfidence.Rejected && !String.IsNullOrWhiteSpace(result.Text))
                          await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.High, () =>
                              textBox.Text += result.Text;
                  catch (Exception exception) {
                      exceptionMessage = exception.Message;
                  if (exceptionMessage != null)
                      MessageDialog dialog = new MessageDialog("Speech recognition failed: " + exceptionMessage + ".");
                      await dialog.ShowAsync();
    • Frate, 3 more things for my Romanian brothers at MS. I live in Canada. Maybe the delay is causing issues in propagation timing between control and servers? Also, my speech recognition problem can be reproduced if you just run the above code and simply walk away from the microphone for a bit. Also, I'm not binding it to a UX control. Just creating the Speech Recognizer like this: speechRecognizer = new SpeechRecognizer("en-US", credentials);
    • I managed to repro the issue. It might be the service but most probably is the client code. The design of the control was focused on push to talk scenarios and correct continuous recognition can't be realized by repetitive calls into the RecognizeAsync. We are looking into providing this feature in future releases.   
    • Nice. Well, the hack for now is to add about a 1-second delay between invocations. I use it like this on my Typewriter+ app for Windows on the Microsoft Store:
1 - 10 of 12 Items