diff options
| author | yum <yum.food.vr@gmail.com> | 2022-10-25 16:05:25 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-10-25 16:05:25 -0700 |
| commit | 98284cc0ca42c75ef8cf22d9435821c62a12c592 (patch) | |
| tree | a013ab37e7ddf109496028cc50f4312a74a27bda /Examples | |
| parent | de99d88a1c15c64812d16231e1b58e6e32e1588a (diff) | |
Add exponentially longer sleeps to transcribe loop
When the user pauses their speech for an extended period of time, the
transcription engine will sleep for progressively longer intervals,
up to 1.5 seconds between transcriptions. This allows us to reduce
idle resource consumption.
To enable responsive transcription while the user is speaking actively,
we reset the sleep duration to the minimum whenever a change is
detected.
Diffstat (limited to 'Examples')
0 files changed, 0 insertions, 0 deletions
