commit 4441f5eec0122328c6ac952c39ddacc9098b0643
parent 3b64ec746cbbb40fc1efebef8c87099b70b879b8
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 16 Nov 2026 08:15:57 -0500
ttsFile: rewrap the header comment
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/common/controller/ttsFile.ts b/common/controller/ttsFile.ts
@@ -18,9 +18,10 @@
//
// THE CACHE. sha256 of (engine, model, voice, speed, the NORMALIZED text — the
// engine's own pre-pass, lib/ttsText.ts — and, for Orpheus, its takes and tag
-// check plus any tuning or reading that is not the default) names `<dir>/<sha>.wav` (48 kHz mono
-// 16-bit) and `<sha>.json`, the sidecar that discloses it (engine, model,
-// licence, voice, seconds, `synthetic: true`, the disclosure line). A request
+// check plus any tuning or reading that is not the default) names
+// `<dir>/<sha>.wav` (48 kHz mono 16-bit) and `<sha>.json`, the sidecar that
+// discloses it (engine, model, licence, voice, seconds, `synthetic: true`, the
+// disclosure line; Orpheus: the tuning, reading and seed base). A request
// whose pair is already there is a `done` job with `cached: true` that runs no
// engine and waits on no queue. Anything else runs on the `tts` queue, one
// synthesis at a time, and checks the cache again when its turn comes (a job
@@ -29,8 +30,9 @@
// THE RESULT is logged as ONE line starting with TTS_RESULT_MARKER:
// `{wav, seconds, engine, voice, cached, durationMs, waitedMs, sha, sampleRate,
// speed, disclosure}`, plus for Orpheus `{tuning, reading, seedBase}` (the
-// effective values, defaults included) and, when a tuning was ignored, `note`. `wav` is an absolute path this editor wrote: `out` when
-// given, else the cache file. `durationMs` is the engine's time (0-ish for a
+// effective values, defaults included) and, when a tuning was ignored, `note`.
+// `wav` is an absolute path this editor wrote: `out` when given, else the
+// cache file. `durationMs` is the engine's time (0-ish for a
// hit); `waitedMs` the wait on the queue.
//
// WHAT IT TOUCHES: reads `file` (anywhere); writes the cache dir and `out`,