-
Notifications
You must be signed in to change notification settings - Fork 26
Description
I'm not entirely sure where all the latency is coming from, and some of it might very well be NVDA. But if you send large blobs of text, thousands of characters, a delay is introduced. Under 6k characters or so it simply manifests as a short delay before speech, which while undesirable isn't that big of a deal. But going beyond that starts going into downright hang territory rather quickly. I've seen this hang truly lock up NVDA as a whole not just the speech thread, and in some circumstances actually hanging the text editor the large blob on one line came from. How much of it is due to the rather expensive transforms we're performing on the data and how much is the synthesizer itself I don't know. Would it be possible to institute some kind of chunking algorithm similar to what say all does for strings beyond a few thousand characters? And then perhaps only apply the complex transforms on the pieces, which cuts down on the search space?