artyom.js icon indicating copy to clipboard operation
artyom.js copied to clipboard

Related to multiple speech recognition on mobile browser

Open shoaib04 opened this issue 8 years ago • 3 comments

Hi, Artyom work perfectly fine on desktop browser, but when tried using mobile browser, it take input multiple times. Can u please suggest a workaround for this issue ?

Eg.) If input is "What was my sales in 2017" Artyom gives : What What What was was was my my my sales sales sales 2017 2017 2017

Same code is deployed at both places.

This issue is there only for mobile browser(maybe due to multiple microphones being available on mobiles nowdays)

shoaib04 avatar Jul 31 '17 12:07 shoaib04

lol, can you provide the initialization code and specifications of your mobile device?

sdkcarlos avatar Jul 31 '17 12:07 sdkcarlos

Hi.

I'm having the same behavior tested with Chrome in several android devices (S7, Redmi 4 Pro, Huawei G630...).

You can find the code in http://makarra.es/xxx/casa/ and you can try the spanish command: 'hola travis'.

I also found the speech recognition is hearing itself (the speech synthesis), i don't know if it's supposed to be controlled in any way from the Artyom script.

Thank you sdkcarlos for your time and for this awesome contribution.

jmunozdev avatar Aug 04 '17 09:08 jmunozdev

@jmunozdev I have tested your link. I am facing same issue there too. Please see attached screenshot. test

My Artyom initialization code.

window.onload = function(){
	    var artyom = new Artyom();
	    artyom.initialize({
	        lang:"en-GB",
	        debug:true,
	        continuous:false,
	        listen:true
	    }).then(function(){
});
}

@sdkcarlos How can we fix this issue ?

shoaib04 avatar Aug 08 '17 04:08 shoaib04