Voix

Constructor

configObjectconfig
keyListObjectsession data
isLoopBooleanWhether to run after one detection
var voix = new Jsonic.Voix();

Property

onLearningFunctionThe event will be fired in learning mode
onLogFunctionThe event will be fired when voix call console.log

Method

.start()

start to do voice recognition

voix.start();

.stop()

stop doing voice recognition

voix.stop();

.bind()

bind event

msgstring lowcasemessage
funcFunction | nullevent
voix.bind('hello',event);

.unbind()

unbind event

msgstring lowcasemessage
funcFunction | nullevent
voix.unbind('hello',event);

.one()

bind an event which will be fired only once

msgstring lowcasemessage
funcFunction | nullevent
voix.one('hello',event);