Skip to content

Clip preparation tells two speakers apart by timbre - #7

Merged
plotarmordev merged 5 commits into
mainfrom
feat/clip-speaker-check
Oct 17, 2026
Merged

plotarmordev merged 5 commits into
mainfrom
feat/clip-speaker-check

Conversation

@plotarmordev

Copy link
Copy Markdown
Owner

Clip preparation tells two speakers apart by timbre

Engine patch 0054. The speaker check splits a take's stretches of speech into two groups by their mel cepstra with a weighted two-means split and refuses a split over an empirical threshold, set on model-invented voices and synthetic mixes of them. results/clip-speaker-check.json holds that calibration case by case, and the README states the check, its documented limits and the link.

Stacked on #6; merge after it.

Engine patch 0040. On the 182-token text fixture the backbone now passes the worst-row, KL and top-30 bars and still fails all-row cosine, last-row cosine and relative L2; a voice-reference prompt does not improve. It costs about 5% on our GB10, our corpus (RTF 0.682 against 0.642-0.650 for the previous engine in the same session). The README status and results/backbone-attention-tiles.json give the measured before and after.
Engine patches 0041-0044. A stream's silence guard hears each chunk before sending it and drops frames decoded past the cut. On our GB10, our corpus, a collapsing reply now ends at 16.579 s streamed and whole with identical PCM (before: 29.77 s streamed, 17.09 s whole), and the 46 normal default-voice corpus replies stayed byte-identical. Long-form trailers are formatted without allocating, and 0044 scopes the measurements in the engine changelog. results/stream-silence-cut.json holds the measurements; the README says so in the HTTP contract, and that a relative --voices directory resolves from the launcher's --runtime-dir.
…a native encoder

Engine patches 0045-0053. A voice file says in source whether its voice is model-invented, the owner's or consented, and --voices refuses one that does not. drama_voice_clip.py prepares a take behind cheap heuristic gates, GET /v1/voices lists the loaded voices, and tensorfold-native voice encode makes the codes on CUDA. 0053 makes the engine docs state only the encoders' measured memory, time and code differences, scoped to our GB10 and our test clips, and gives the consent test a neutral fixture name. The README gets a short Voice cloning section with the consent rule, the commands, the gates' limits and the encoder measurements on our GB10, our test voices (results/native-voice-encoder.json); clips/ and voices/ are git-ignored.
The voice measured on the 15.7 s parity clip and used for the take noise is a native render, and its voice file says model-invented, not a recording. results/native-voice-encoder.json and the README label it so.
Engine patch 0054. The speaker check splits a take's stretches of speech into two groups by their mel cepstra with a weighted two-means split and refuses a split over an empirical threshold, set on model-invented voices and synthetic mixes of them. results/clip-speaker-check.json holds that calibration case by case, and the README states the check, its documented limits and the link.
@plotarmordev
plotarmordev changed the base branch from feat/voice-cloning-tools to main October 17, 2026 05:42
@plotarmordev
plotarmordev merged commit a2bd659 into main Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant