/tts-tools:listening-pagefrom tts-tools
Build a local HTML page to listen to TTS/audio clips side by side and pick: voices, original vs processed, EQ mixes, checkpoints, blind A/B.
Ships in tts-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Whenever the user has to listen to more than two clips and choose (voice candidates, raw vs
restored, EQ chains, model checkpoints), give them a listening page, not a playlist or a stitched
file. Every clip gets its own player, the original sits next to its versions, starting one clip
stops the others, and the user's picks autosave to choices.json for you to read back.
CLI: ${PLUGIN_ROOT}/bin/listen-page (stdlib Python 3). If listen-page is not on PATH, run it by
that path or ln -sf ${PLUGIN_ROOT}/bin/listen-page ~/.local/bin/.
listen-page templates lists them:
| Template | Layout | Use for |
|---|---|---|
voice-pick | grid | Many candidates of one line (voice design seeds, speakers): rate each, star a winner |
ab-original | compare | Original vs processed versions of the same clips; the original is the pinned reference |
eq-mix | compare | The same clips under several EQ chains or mixes; the tally names the chain to keep |
checkpoint-compare | compare | Systems or checkpoints reading the same lines |
term-check | compare | Per-word pronunciation: Right / Close / Wrong for each highlighted word under every clip (code-switching, names) |
pairwise | pairwise | Choosing between systems: blind A vs B against a target, A / B / Not sure / Neither, how much better, reason chips, unusable flags; Bradley-Terry ranking, playoff for the top k |
blind-ab | compare | As above, columns shuffled per row and labelled "Version n" until the user reveals |
Grid = flat candidates, grouped by filename prefix (A0..A4, B0.. -> groups A, B).
Compare = rows are clips/lines, columns are versions; one subfolder per version, files matched by stem.
DIR/<version>/<item>.<ext>, e.g.
raw/, sidon/, warm-eq/, each with l01.mp3, l02.mp3.... Prefer mp3 (small, plays everywhere).
Level-match versions (e.g. loudnorm=I=-19) so louder doesn't win.listen-page scan DIR --template <name> [--ref raw] --title "..." --question "..."
This writes DIR/listen.json and DIR/index.html.listen.json when it helps the listener, then listen-page build DIR/listen.json:
note (e.g. the voice-design attributes behind set A),text (the sentence being read),label ("warm: lowshelf +2, de-ess" beats warm),highlight on rows/clips: the words the listener should judge (code-switched terms, names).listen-page serve DIR # prints the 127.0.0.1 URL; run in background
Tell the user in one line what's on the page and to press Submit.listen-page wait DIR (blocks until Submit; run in the background), or read when the
user says they're done.listen-page result DIR (or --json). Fields: winner, ratings{clip: choice},
picks{row: column}, terms{"row|column": {word: verdict}} and term_notes (same keys, free text per word; term-check), tally{column: n}, excluded [columns the listener ruled out with ✕ Exclude], notes{id: text}, comment, status. Notes are
instructions. Record the verdict where the project keeps listening results, then stop the server
(pkill -f "listen-page serve DIR").Same compare-style spec (columns, reference = the target, rows with clips), "template": "pairwise".
build generates all pairs of non-reference columns (each pair on a different row, sides randomised, pair
ids a~b@row) and writes them back into the spec. Drop systems with "exclude": [...]. Override
reasons / strengths per study. Then:
listen-page result DIR --spec listen-pairwise.json # Bradley-Terry ranking, win reasons, strengths, unusable counts, notes
listen-page playoff DIR --spec listen-pairwise.json --top 3 # new spec with all pairs among the top 3 on fresh rows
Prefer pairwise over many-column pages when the listener must choose among 4+ systems: one decision at a time, and the reasons say why a system wins. Keep a round to ~10-15 pairs.
listen.json){"template": "voice-pick", "title": "...", "question": "...", "intro": "...",
"groups": [{"name": "Set A", "note": "male, young adult", "clips": [{"id": "A0", "label": "A0", "src": "A0.mp3", "text": "optional"}]}]}
{"template": "ab-original", "reference": "raw",
"columns": [{"id": "raw", "label": "Original"}, {"id": "sidon", "label": "Sidon"}],
"rows": [{"id": "l01", "label": "l01", "text": "the sentence", "clips": {"raw": "raw/l01.mp3", "sidon": "sidon/l01.mp3"}}]}
For term-check, a clip or row may also carry syllables ({word: [[syl, ...] per space-separated word]}) and
asked ({word: [stressed syllable index per word]}). When the listener marks a word Close or Wrong, its
syllables appear as "Heard stress" / "Should be" chips (the asked syllable underlined); the answers land in
stress{cell: {word: {heard: ["w.s"], should: ["w.s"]}}}. Use it for stress errors in code-switched words.
Any template key can be overridden in the spec: layout, ratings (grid buttons), pick_label,
blind, seed (blind shuffle), ref_pickable (whether the reference can be preferred),
highlight (list of words to mark in the clip/row text: top level, per clip or per row; use it for
the words under test, e.g. code-switched terms or names whose pronunciation the listener should judge).
Writes only inside the clip folder: listen.json, index.html, choices.json, .listen-url.
Opened as file:// (not served), choices stay in the browser and the page shows JSON to copy back.
index.html in the clip folder.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/complementary-pluginsList and install plugins that complement tts-tools: local-tts, text-to-speech-toolkit. Use on "related plugins"./voice-seedsKeep and browse a library of reference voice clips ("voice seeds"), meaning designed or generated voices kept as clone anchors for future TTS work. Use on "add these to voice seeds", "save this voice for later", "review the voice library", "do we have a voice for X".Other plugins' skills for the same job
tts-tools@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin tts-tools