artyom.js
artyom.js copied to clipboard
Related to multiple speech recognition on mobile browser
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)
lol, can you provide the initialization code and specifications of your mobile device?
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 I have tested your link. I am facing same issue there too. Please see attached screenshot.

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 ?