microsoft / HoloJS

Provides a framework for creating holographic apps using JavaScript and WebGL.
MIT License
1.19k stars 114 forks source link

Add speech recognition #116

Closed Almost-Done closed 7 years ago

Almost-Done commented 7 years ago

Implemented speech recognition

To achieve this in script: window.voiceCommands = ["start", "stop", "etc"]; window.addEventListener("voicecommand", onVoiceCommand);

function onVoiceCommand(voiceEvent) { // voiceEvent.command // voiceEvent.confidence); }