diff options
| author | yum <yum.food.vr@gmail.com> | 2023-09-05 20:51:20 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-09-05 20:51:20 -0700 |
| commit | b40ded2981d5b037cdab9b78ff1ea0f8f22658d3 (patch) | |
| tree | e6f06de7e2c78f5f618fda899513febc6f904310 /Scripts/generate_utils.py | |
| parent | 6020bc056d8992523ae62feb4edfbae10b169880 (diff) | |
Put OSC logic into its own thread
This logic is highly IO bound *and* latency critical so it makes sense to put
it into its own thread.
Also:
* Collector::drop* methods return the dropped audio. Committer includes
that audio in commits. Transcription thread holds onto it. When the
user segments their speech with a button press, the transcription
thread sends the entire combined audio of all commits over to Whisper
to be transcribed. This allows us to recover from errors introduced
by segmentation.
* Remove unused animator params
* Fix issue where clearing the board doesn't completely reset STT state
TODO:
* Coalescing does not occur for in-place updates. It should.
Diffstat (limited to 'Scripts/generate_utils.py')
| -rw-r--r-- | Scripts/generate_utils.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Scripts/generate_utils.py b/Scripts/generate_utils.py index c486201..1e12103 100644 --- a/Scripts/generate_utils.py +++ b/Scripts/generate_utils.py @@ -30,12 +30,6 @@ config = Config() def getDummyParam(): return "TaSTT_Dummy" -def getHipToggleParam(): - return "TaSTT_Hip_Toggle" - -def getHandToggleParam(): - return "TaSTT_Hand_Toggle" - def getToggleParam(): return "TaSTT_Toggle" |
