From 3db4f81573d89f6ebefb5ec119c7d66affc1a4a0 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 31 Aug 2023 17:11:11 -0700 Subject: 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) --- Scripts/osc_ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts/osc_ctrl.py') 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) -- cgit v1.2.3