Skip to content

feat(tts): register voxcpm2, zonos2, chatterbox and higgs engines for evaluation - #260

Merged
schmug merged 2 commits into
mainfrom
feat/tts-engine-eval-2026-10
Oct 11, 2026
Merged

schmug merged 2 commits into
mainfrom
feat/tts-engine-eval-2026-10

Conversation

@schmug

@schmug schmug commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Requested by Schmug

Summary

Registers three open-weight TTS engines in render.ENGINES so the eval bench can measure them against the qwen3 control: voxcpm2 (VoxCPM2 8-bit, Apache 2.0), zonos2 (Zyphra ZONOS2, Apache 2.0) and chatterbox (Chatterbox Multilingual v3, MIT). Each has an adapter in _ENGINE_GENERATORS. These three were picked from a survey of models released or updated in the last four months that clone from ref_audio, allow a public podcast, and run in mlx-audio.

EngineSpec gains sample_rate (default 24000), because the new models output 48 kHz, 44.1 kHz and 24 kHz. _render_take writes each take at the engine's declared rate. It dies if the loaded model reports a different rate, since a wrong rate would pitch-shift every take silently. Qwen3 and Breeze both report 24000, so their writes are unchanged and the qwen3 kwargs are untouched.

A follow-up commit adds higgs (Higgs Audio v3, bosonai/higgs-tts-3-4b) at Schmug's request. It can clone and perform events: (laugh) and (sigh) are rewritten to Higgs' inline sfx tags in the adapter. It also adds an EngineSpec.model_type field, passed to load_model only when set, because mlx-audio 0.5.8 cannot resolve Higgs' architecture from the repo id. Its weights are non-commercial except under Boson's creator-use grant.

No show's tts_engine changes. The bench results and the recommendation go in the thread, not this PR.

Related issue

Refs #200 (eval bench). There is no tracking issue for this evaluation.

Acceptance criteria

  • Each shortlisted model is registered as an EngineSpec following the 2026-09-04 registry design
  • The qwen3 path is unchanged
  • No show switches engine

Testing

  • ruff check . and ruff format --check . are green (ruff 0.14.10)
  • pytest: 1787 passed, 1 skipped
  • Dry run on qwen3 with production mlx-audio 0.5.1: pre-flight PASS 7/7, status: dry-run, tts_engine: qwen3, takes mono 44.1k, loudnorm -24.04 LUFS
  • Manual check: on mlx-audio 0.5.8, every engine's loaded model reports the sample_rate its spec declares (qwen3 24000, breeze 24000, voxcpm2 48000, zonos2 44100, chatterbox 24000)

Risk / blast radius

Every take now passes through spec.sample_rate instead of SAMPLE_RATE. That value is 24000 for qwen3, so the write is the same as before. The new die-on-mismatch check only fires when a model reports a rate other than the one its spec declares. The real qwen3 and breeze models both report 24000.

Docs kept in sync

  • Updated skills/daily-podcast/SKILL.md (engine table, schema comment), the Surface Tension TTS rules table, and CLAUDE.md's engine sentence

🤖 Generated with Claude Code

…tion

Adds three EngineSpecs and adapters for the 2026-10-11 engine evaluation and a
per-engine sample_rate (48k / 44.1k / 24k) that _render_take writes the take at,
dying if the loaded model reports another. qwen3 and breeze are unchanged. No
show selects a new engine.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@schmug schmug self-assigned this Oct 11, 2026
Clone + events: (laugh)/(sigh) become Higgs' inline sfx tags at the adapter seam.
EngineSpec gains model_type, passed to load_model only when set, because mlx-audio
0.5.8 cannot resolve Higgs v3's config model_type from the repo id. qwen3's load
call is unchanged. No show selects the engine.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@schmug schmug changed the title feat(tts): register voxcpm2, zonos2 and chatterbox engines for evaluation feat(tts): register voxcpm2, zonos2, chatterbox and higgs engines for evaluation Oct 11, 2026
@schmug
schmug merged commit 74e7781 into main Oct 11, 2026
3 checks passed
@schmug
schmug deleted the feat/tts-engine-eval-2026-10 branch October 11, 2026 21:31

schmug commented Oct 11, 2026

Copy link
Copy Markdown
Owner Author

Internal change — no release note.

The new engines are registered for evaluation only and no show selects them, so listeners and existing manifests see no difference.


Generated by Claude Code

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