diff options
| author | yum <yum.food.vr@gmail.com> | 2022-10-27 16:00:22 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-10-27 16:00:22 -0700 |
| commit | fd7ea2f72a486888c30726a2482fcc1f7fce9378 (patch) | |
| tree | cae0ee99fca59d65062074a546c3975404f7ad89 /generate_params.py | |
| parent | eefa14c431efa4e3bc16cafbcb004e41622c2411 (diff) | |
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.
Diffstat (limited to 'generate_params.py')
| -rw-r--r-- | generate_params.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generate_params.py b/generate_params.py index 23a2513..d09be63 100644 --- a/generate_params.py +++ b/generate_params.py @@ -69,6 +69,9 @@ params["SAVED"] = "0" params["PARAM_NAME"] = generate_utils.getLockWorldParam() print(generate_utils.replaceMacros(BOOL_PARAM, params)) +params["PARAM_NAME"] = generate_utils.getClearBoardParam() +print(generate_utils.replaceMacros(BOOL_PARAM, params)) + for i in range(0, generate_utils.NUM_LAYERS): params["PARAM_NAME"] = generate_utils.getLayerParam(i) print(generate_utils.replaceMacros(INT_PARAM, params)) |
