diff options
| author | yum <yum.food.vr@gmail.com> | 2023-08-31 17:11:11 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-08-31 17:17:01 -0700 |
| commit | 3db4f81573d89f6ebefb5ec119c7d66affc1a4a0 (patch) | |
| tree | 202672af81898cfdf559dcfa3a2d89341584f25c /Scripts/osc_ctrl.py | |
| parent | 4fcf3e1e3ac8dcf510be96a84b81a688b1092869 (diff) | |
Bugfixes and tweaks
* Temporarily restore normal process priority. Working on adding a UI
option to set STT prio.
* Give audio indicator phonemes a 1/3 chance to do nothing. Makes result
sound a little better imo.
* Quiet down steamVR thread when steamVR isn't running
* Fix use of `button_id` and `hand_id` in steamvr.py
* Increase amount of silence allowed before transcript from 1 to 5
seconds. You want enough buffer to allow for a few full transcripts,
else you risk spuriously dropping audio.
* Enable background loading in audio metadata (required by vrc sdk)
Diffstat (limited to 'Scripts/osc_ctrl.py')
| -rw-r--r-- | Scripts/osc_ctrl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/osc_ctrl.py b/Scripts/osc_ctrl.py index 413e2ae..6fc706e 100644 --- a/Scripts/osc_ctrl.py +++ b/Scripts/osc_ctrl.py @@ -108,7 +108,7 @@ def pageMessage(osc_state: OscState, msg: str, estate: EmotesState) -> bool: letter_i += 1 if len(sounds_to_make) > 0: for i in range(5): - if i+1 in sounds_to_make: + if i+1 in sounds_to_make and random.randint(1,3) != 1: playAudio(osc_state, i+1, True) else: playAudio(osc_state, i+1, False) |
