mirror of
https://github.com/ashhart/TensorFold.git
synced 2026-12-04 01:43:24 +08:00
docs: document the --silence-onset-s and --silence-onset-voiced-s flags
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user