> A flexible GUI for interacting with Speech Recognition Speech KITT
Speech KITT makes it easy to add a GUI to sites using Speech Recognition. Whether you are using annyang, a different library or webkitSpeechRecognition directly, KITT will take care of the GUI.
Speech KITT provides a graphical interface for the user to start or stop Speech Recognition and see its current status. It can also help guide the user on how to interact with your site using their voice, providing instructions and sample commands. It can even be used to carry a natural conversation with the user, asking questions the user can answer with his voice, and then asking follow up questions.
Speech KITT is fully customizable, and comes with many different themes (and instructions on how to create your own designs).
The most basic implementation requires 6 commands.
- Let KITT know how to start and stop the SpeechRecognition engine you use with
- Add events to your SpeechRecognition engine so it calls
SpeechKITT.onStart()when it starts, and
SpeechKITT.onEnd()when it stops.
- Tell KITT which stylesheet to use for its GUI with
SpeechKITT.setStylesheet()(KITT comes with a number of pre-made styles).
- Start your engines with
Hello World - With annyang
If you're doing Speech Recognition with annyang, you can skip most of the configuration above. Just calling
SpeechKITT.annyang() will take care of the configuration explained in steps 1 & 2 above.
For details on all available methods, options and more details, check out the API documentation.
Tal Ater: @TalAter
Licensed under MIT.