Check if artyom is talking or not.

This function allow you to know if artyom is synthesizing text in the exact moment of execution.

Usage

if(artyom.isSpeaking()){
    console.log("Artyom is speaking something");
}else{
    console.log("Artyom is not speaking anything");
}

Example

artyom.say("Hey, a test text that i will read. Probably it doesn't make sense, therefore i will say the same twice.Hey, a test text that i will read. Probably it doesn't make sense, therefore i will say the same twice.",{
    onStart:function(){
        setTimeout(function(){
            // Most likely to be true
            console.log("Speaking : "+ artyom.isSpeaking().toString());
        },500);
    },
    onEnd: function(){
        setTimeout(function(){
            // Most likely to be false
            console.log("Speaking : "+ artyom.isSpeaking().toString());
        },500);
    }
});