Open elongstreet88 opened 1 month ago
Hi @elongstreet88
Yep, that's on the cards to implement however I'm on the fence whether this should also modify the Android-equivalent timers (which they don't recommend you change). Right now I'm intending to implement two options for timer configs:
EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS
)EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
)I'll also have to research what defaults these are at least on Android com.google.android.tts
/ com.google.android.as
so that it behaves similar on iOS, but I don't think this is documented anywhere so it'll have to be a guess.
From the README:
Would it be possible to variabilze this into milliseconds, so that it could be set? In some tests, I've found that fast speakers that don't pause very much during speech cause a very long sentence to be synthesized and/or it the results event isn't fired for a long time.
It would be helpful to be able to either statically set a max results time (like 10 seconds) and also set the max silence between next sentence time.