Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artyom.say doesn't speak after some time #95

Open
saricden opened this issue Sep 21, 2020 · 2 comments
Open

artyom.say doesn't speak after some time #95

saricden opened this issue Sep 21, 2020 · 2 comments

Comments

@saricden
Copy link

Hi there,

I'm encountering a bug with Artyom.

I've created and initialized an instance of Artyom via:

import Artyom from 'artyom.js';

const artyom = new Artyom();

artyom.fatality();// use this to stop any of

setTimeout(function(){// if you use artyom.fatality , wait 250 ms to initialize again.
  artyom.initialize({
    lang: "en-GB",// A lot of languages are supported. Read the docs !
    continuous: true,// Artyom will listen forever
    listen: true, // Start recognizing
    debug: true, // Show everything in the console
    speed: 1 // talk normally
  }).then(function(){
    console.log("Ready to roll.");
    artyom.say('Ready to roll.');
  });
}, 250);

And for quite some time, it was working as expected. However now when I try to execute artyom.say() it doesn't speak. There is also no debug log for the speech synthesis. It is still recognizing commands I defined and acting accordingly, it's just the speech synthesis that isn't working.

Side note, I have tried reloading the page, and clearing the garbage but still nothing.

Another side note, I'm also playing music on the same page, via Howler, but it was working fine together before. I din't think anything was changed, it just doesn't say anything now.

Any ideas?

@saricden
Copy link
Author

Update on this, it seems to work again if I close and re-open Chrome. Going to see how long it takes to stop speaking again and will report back if it does.

@afzala105
Copy link

afzala105 commented Aug 7, 2021

I also have same problem, and after I try to refresh page, it works again.

but sometimes I need to refresh twice or until it works again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants