ttsQueue hangs

Post Reply
davidwiththenicehat
Posts: 23
Joined: Tue Jul 02, 2019 4:29 pm

ttsQueue hangs

Post 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.

davidwiththenicehat
Posts: 23
Joined: Tue Jul 02, 2019 4:29 pm

Re: ttsQueue hangs

Post 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?

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: ttsQueue hangs

Post 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.

davidwiththenicehat
Posts: 23
Joined: Tue Jul 02, 2019 4:29 pm

Re: ttsQueue hangs

Post 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.

Post Reply