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 (7,396)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (1)
Q and A (10)
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

  • 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:
  • Changelog of the 1.1 update ?
    2 Posts | Last post April 25, 2014
    • Hello,
      Is there a changelog associated with the 1.1 update ?
    • Hello Jeremy,
      Detailed documentation is on its way. A quick chenagelog is as follows:
      1. Added support for strong named applications
      2. Added support for 6 new languages apart from English (US) - English (UK), French, German, Italian, Spanish, Simplified Chinese
      3. Some performance imporovements
  • Bing Speech Recognition Installation Problems
    3 Posts | Last post February 03, 2014
    • I asked this question in the Bing Ads API Forum a week ago or so but maybe that was in the wrong Forum so I am trying this again here with hope of better luck in getting an answer.
      In installed the 8.1 version of the Speech Recognition Control on Win 8.1 Enterprise on two different machine with the same bad result.  When I downloaded the Bing Speech Recognition Control custom UI sample and opened it in both VS 2012 and VS 2013 I see unresolved references in the project References to Bing.Speech and Microsoft Visual C++ Runtime Package reference and when I compile it confirms the reference are bad when it says, "Warning 3 The referenced component 'Bing.Speech' could not be found.  SpeechCustomUi" and same for C++ Runtime.
      I assume these references are pointing to the GAC and that these libs were not properly installed when I ran the Bing Speech Recognition Control installer for Windows 8.1.vsix that I got from
      Any ideas on what is going wrong here?
      Happy to move this question to an MSDN Forum if there is one for this control.
      I'd love to give this control a try if I could only get past this issue.
    • Yeah, I ran into something like this. Make sure that you target x64 on your build settings and also try to ensure that you're referencing the latest version of the Visual C++ runtime.
    • For Windows 8.1 you should be able to refer the control only in VS 2013 not in VS 2012. Once you have installed the vsix package you need to restart the IDE. I am not sure about the samples but with a new project you should be able to find the Bing.Speech in the Reference Manager/Windows/Extensions and add it as a reference to your project and that should add the correct reference to the Visual C++ Runtime as well. Building a WinRT app you will have to create each of the 3 platforms as you need it: x86, x64, Arm, Any CPU will not work. Hope it helps.