Page 1 of 1

ttsQueue hangs

Posted: Thu May 07, 2020 9:44 pm
by davidwiththenicehat
Hello

Thanks for reading.

I have always had issues with the text to speech queue hanging.
Previously had code to get the queue working again. Mostly it was call `ttsSpeak(" ")`. Than filtering out characters the ttsQueue hang on.
Wondering if anyone else is using ttsQueue and what their experience has been with it.

Re: ttsQueue hangs

Posted: Thu May 07, 2020 11:44 pm
by davidwiththenicehat
Came home, works with 0 issues from my surface laptop.
My shop workstation it hangs every two or three queues.
Just as a sanity check it is working for other people right?

Re: ttsQueue hangs

Posted: Fri May 08, 2020 5:49 am
by Vadi
It really matters what OS you're using it on, because Mudlet outsources this work to the underlying system. So in the end if there's a fault, the fault is likely to be there - but we can do our best to investigate.

Re: ttsQueue hangs

Posted: Fri May 08, 2020 9:17 pm
by davidwiththenicehat
Both systems I have tested are using windows 10 Pro.
Should I open an issue for this. I was reluctant to unless I was certain someone else was seeing this behavior.

Some notes I want to keep track of.
ttsGetState() is always ttsSpeechReady
When the queue is stuck: ttsGetCurrentLine() returns nil and ttsGetQueue() returns the list of messages that should be spoken.

I have put the queue inside a boolean. If it is false the messages instead go to ttsSpeak. If I run using ttSpeak for a time (30 minutes for the one instance) than switch back to using ttsQueue, the queue works no problems.