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.
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 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
-
First, you must obtain a Bing Speech API subscription key by following the instructions on our webiste.
-
Start Visual Studio and choose the menu "File", "Open", "Project/Solution" the workspace file Speech > Speech.JS > Oxford.Speech.JS.sln.
-
In Visual Studio , select menu "Build> Build Solution" to build the sample.
-
Choose the target browser you would like to use.
- "Debug" to launch the sample app.
-
In the web application, enter your Bing Speech subscription key under "Oxford Key".
-
To Start recognition, press the Start button.
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:
- Support questions: StackOverflow
- Feedback & feature requests: Cognitive Services UserVoice Forum
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.
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.
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.