From 9f87674d1b484a2e61e87ad53d8ebcf9985dce6b Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 22 Nov 2022 19:01:01 -0800 Subject: Shorten audio window to 10 seconds This helps with temporal stability in long-running transcriptions, and lets us get rid of that hack where we refuse to update old pages. --- osc_ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osc_ctrl.py') diff --git a/osc_ctrl.py b/osc_ctrl.py index ea0c145..c72aed6 100644 --- a/osc_ctrl.py +++ b/osc_ctrl.py @@ -250,7 +250,7 @@ def sendMessageLazy(client, msg, tx_state): last_cell = (len(tx_state.last_msg_encoded) / NUM_LAYERS) - 1 last_page = floor(last_cell / (2 ** generate_utils.INDEX_BITS)) if page < last_page: - continue + pass if cell_msg == [state.encoding[' ']] * NUM_LAYERS: if empty_cells_sent >= tx_state.empty_cells_to_send_per_call: -- cgit v1.2.3