-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
@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
// 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();
please help
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels