You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Queueing is already handled for us. Last night I added #!S to stop the speech if it was currently speaking. Plan is to add an interrupt parameter to CalcVox's speak method that sends it if true. Currently, if you send speech back-to-back, it does queue up.
The issue is that serial does not interrupt. #!S will only run once the serial queue has been exhausted. Espeak blocks while it is talking so some concurrency and custom queueing will need to be implemented to process whether or not the item that was sent is a speech call or system call. @TheQuinbox
Oh blerg, you're right, I forgot about that incredibly annoying limitation! Honestly my thought is to approach an advisor about this, as I too have no idea how multithreading works on Arduino. I'm a Windows dev, not an Arduino one ;)
Will need to make the serial always check for new data and run the speech concurrently. Not quite sure how to approach this yet
The text was updated successfully, but these errors were encountered: