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
Basically I have an array of strings and they are fed into flutter tts using the onComplete handler to speak the next element in the array.
But I noticed that there's a slight unpleasant delay of 0.5-1 second between sentences which throws off the flow of the text. This i suspect is a result of just time to convert the text to speech.
Why this is happening is because I'm only calling 'speak' after the previous statement is finished. I'd like to be able to 'queue' the array directly, or just call speak many times in succession without waiting and have it automatically synthesize asynchronously, and have the speech 'ready to go' by the time the first sentence finishes talking so the second one can just start immediately without having to do the synthesization on the fly.
I'm not sure if this can be achieved with some combination of existing functionality, or whether I should just synthesize each string in the array to a file, and play the files in order one after the other to eliminate the delay. (but then i'd need file storage permissions which adds bulk/clutter).
Platforms affected (mark all that apply)
📱 iOS
🤖 Android
The text was updated successfully, but these errors were encountered:
🚀 Feature Requests
Basically I have an array of strings and they are fed into flutter tts using the onComplete handler to speak the next element in the array.
But I noticed that there's a slight unpleasant delay of 0.5-1 second between sentences which throws off the flow of the text. This i suspect is a result of just time to convert the text to speech.
Why this is happening is because I'm only calling 'speak' after the previous statement is finished. I'd like to be able to 'queue' the array directly, or just call speak many times in succession without waiting and have it automatically synthesize asynchronously, and have the speech 'ready to go' by the time the first sentence finishes talking so the second one can just start immediately without having to do the synthesization on the fly.
I'm not sure if this can be achieved with some combination of existing functionality, or whether I should just synthesize each string in the array to a file, and play the files in order one after the other to eliminate the delay. (but then i'd need file storage permissions which adds bulk/clutter).
Platforms affected (mark all that apply)
The text was updated successfully, but these errors were encountered: