From fd7ea2f72a486888c30726a2482fcc1f7fce9378 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 27 Oct 2022 16:00:22 -0700 Subject: Add fast clear animation The old clear mechanism would write an empty cell in every layer, which would take (0.3 seconds) * (11 layers) == about 3 seconds. The new mechanism drives an animation which overwrites every character slot simultaneously, taking only 0.1 seconds. A nice ~30x speedup. * Fix the transcription exponential backoff logic. Saying new things will reset the delay to the minimum again. * Clearing the board will also reset the transcription delay back to the minimum. * Tune the noise detection minimum to 0.2 instead of 0.1. Speaking softly into the mic seems to fail to exceed the 0.1 threshold pretty often. --- dev_cheatsheat.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev_cheatsheat.txt') diff --git a/dev_cheatsheat.txt b/dev_cheatsheat.txt index db9697f..cf9f39a 100644 --- a/dev_cheatsheat.txt +++ b/dev_cheatsheat.txt @@ -10,9 +10,10 @@ Combining TaSTT_fx with a normal animator date rm -rf generated/animations ./libunity.py guid_map --project_root=$(cd ..; pwd) --save_to guid.map -#./libtastt.py gen_anims +./libtastt.py gen_anims ./libtastt.py gen_fx > TaSTT_fx.controller -./libunity.py merge --fx0 ../FXGeneric.controller --fx1 ../FXSpecific.controller > FX0.controller +#./libunity.py merge --fx0 ../FXGeneric.controller --fx1 ../FXSpecific.controller > FX0.controller +cp ../FXGeneric.controller FX0.controller ./libunity.py add_toggle --fx0 FX0.controller > FX1.controller ./libunity.py merge --fx0 FX1.controller --fx1 TaSTT_fx.controller > FX2.controller ./libunity.py set_noop_anim --fx0 FX2.controller --guid_map guid.map > FX3.controller -- cgit v1.2.3