Skip to content

stevchin/Cognitive-Speech-STT-JavaScript

 
 

Repository files navigation

Microsoft Bing Speech API: Javascript Speech-to-Text Sample

This repo contains a Javascript client library and samples for webpages using Speech-to-Text in the Microsoft Bing Speech API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

The Client Library

To use the client library in your own application, simply host Speech.1.0.0.js on your website. A 'minified' version of Speech.JS is also available Speech.1.0.0.min.js.

The Sample

The Oxford.Speech.JS sample demonstrates how to use the Microsoft Bing Speech API in a web application. It features using a .wav file or external microphone input to perform:

  • Short-form recognition

Build the Sample

  1. First, you must obtain a Bing Speech API subscription key by following the instructions on our webiste.

  2. Start Visual Studio and choose the menu "File", "Open", "Project/Solution" the workspace file Speech > Speech.JS > Oxford.Speech.JS.sln.

  3. In Visual Studio , select menu "Build> Build Solution" to build the sample.

  4. Choose the target browser you would like to use.

  1. "Debug" to launch the sample app.

Running the Sample

  1. In the web application, enter your Bing Speech subscription key under "Oxford Key".

  2. To Start recognition, press the Start button.

Contributing

We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.

Developer Code of Conduct

Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at http://go.microsoft.com/fwlink/?LinkId=698895.

About

JavaScript SDK for the Microsoft Speech-to-Text API, part of Cognitive Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.4%
  • HTML 8.6%