// register tasks commands
var task = [
... // other task
{
'regex': /(.+ )?please stop( .+)?/gi,
'lang': 'en-US',
'call': function(e){
console.info('ok, stoping ..........................');
$speechRecognition.stopListening();
}
}]
// watch also tasks commands
$speechRecognition.listenUtterance(task);
// start listening user voice
$speechRecognition.listen();
@janantala @PascalPrecht @robinboehm hi,
how can i use this with timestamp $speechRecognition.listen() or to make it continuous listening until user say please stop and it perform a task regarding stop this is my code
please help