From f22bdbe0ed47c819bb5a479a69df0b9df84775bb Mon Sep 17 00:00:00 2001 From: ashhart <71890694+ashhart@users.noreply.github.com> Date: Fri, 6 Nov 2026 10:07:16 +0000 Subject: [PATCH] docs: document the --silence-onset-s and --silence-onset-voiced-s flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both parse into the silence guard's config (cli.zig:86-87, :432) and are validated at startup (cli.zig:319-320, "invalid silence guard configuration"): the two onset flags are required together (core/speech_guard.zig:23-25), onset_seconds must be above 0 and below --silence-seconds (speech_guard.zig:26, which requires the seconds flag) and onset_voiced_seconds must be a finite number above 0 (speech_guard.zig:27). The guard itself needs --silence-floor-dbfs and a positive --silence-seconds to be enabled (speech_guard.zig:30-32). In Guard.hear a reply trips when its silent run reaches the onset seconds while the total voiced audio stays under the voiced seconds (speech_guard.zig:95) — an early reply that never really began speaking; the startup sentence names the rule (speech_guard.zig:44). The flags are Drama-speech-only: any other model type is refused at startup by name (speech_guard.zig:34-38). An onset trip latches like the main silence limit (speech_guard.zig:96-97), so the finish is a silence trip and is redrawn like any other. --- docs/speech-redraws.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/speech-redraws.md b/docs/speech-redraws.md index f7703cf28a..73c855fc13 100644 --- a/docs/speech-redraws.md +++ b/docs/speech-redraws.md @@ -35,6 +35,13 @@ A floor of -30 dBFS also catches the hum. Streams are not redrawn (see [Streams](#streams)): a stalled stream ends early, with the rest of the text unspoken. +Two more flags cut a reply that never really starts. With `--silence-onset-s S` and `--silence-onset-voiced-s V` +(both required together, and both need the floor and `--silence-seconds`; S must be above 0 and below the +silence seconds, V above 0), a reply also ends once it has stayed S seconds below the floor while having voiced +less than V seconds in total — the model cleared its throat but never began speaking. The startup line names the +rule: "or after S s below it with under V s voiced". An onset trip is a `silence` finish, redrawn like any +other. + ## Seeds Without an explicit request `seed`, redraw k (1 to N) seeds its prompt with `TENSORFOLD_SEED_SALT` plus k; the first