Skip to content

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

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE-IMAGE.md
Notifications You must be signed in to change notification settings

pk-karthik/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
  • Long-form dictation
  • Recognition with intent

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. Select whether you would like to use the Microphone and what speech mode you would like to use by select "Use Microphone" and the "Mode" drop down box.

  3. For modes where you would like both Speech recognition and Intent to work, you need to sign up Language Understanding Intelligent Service (LUIS) and set the key values in the fields "Luis AppID" and "LUIS SubscriptionId".

  4. 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 [email protected] 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

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE-IMAGE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published