annyang v1.6.0 Release Notes

Release Date: 2015-03-19 // over 7 years ago
  • โž• Added two new methods which allow you to pause() and resume() annyang.

    ๐Ÿ’ป These will just cause annyang to stop responding to speech commands, without actually stopping or restarting the browser's SpeechRecognition engine - which is great because you can now instantly pause-resume-pause-resume at any moment without requesting permissions again (even on HTTP).

    This contribution comes from @niki4810 who also provided an interesting scenario for when and how to use this in #98

    ๐Ÿš€ This release also catches exceptions thrown by the SpeechRecognition engine, if you try to start it when it is already started. The error message is logged to the console (if debug mode is on)