Responding to speech interactions (HTML)
Incorporate speech into your apps using Cortana voice commands, speech recognition, and speech synthesis.
Cortana voice commands:
Extend the basic functionality of Cortana with voice commands that launch and execute a single action in an external application.
An app can be launched in the foreground (the app takes focus) or background (Cortana retains focus but provides results from the app), depending on the level and complexity of the interaction. For instance, voice commands that require additional context or user input are best handled in the foreground, while basic commands can be handled in the background.
For more info, see Cortana interactions.
Provide input, dictate text, or accomplish tasks through verbal commands from within your app using speech recognition to convert spoken words into text.
The feature includes support for pre-defined grammars for free-text dictation and web search, and support for custom grammars authored using Speech Recognition Grammar Specification (SRGS) Version 1.0.
Convert text into spoken words from your app using TTS, or speech synthesis.
TTS enables your app to read aloud a basic text string, or a more complex one declared in Speech Synthesis Markup Language (SSML), which provides a standard way to control characteristics of speech output such as pronunciation, volume, pitch, rate or speed, and emphasis.
In this section
Use speech recognition to provide input, specify an action or command, and accomplish tasks in your Universal Windows app.
Learn how to select an installed language to use for speech recognition.
Learn how to define and use custom constraints for speech recognition.
Learn how to capture and recognize long-form, continuous dictation speech input.
Learn how to manage issues with speech-recognition accuracy caused by audio-input quality and condition.
Set how long a speech recognizer ignores silence or unrecognizable sounds (babble) and continues listening for speech input.
Voice commands and speech recognition are not supported by Windows Store apps in Windows 8 and Windows 8.1.