SkillsGrove
SkillsGrove/Production vidéo/Kevin-Liu-01/Claude-of-Tanks/audio-generation-handbook

audio-generation-handbook

Installation

$npx skills add https://github.com/Kevin-Liu-01/Claude-of-Tanks --skill audio-generation-handbook
$git clone --depth 1 https://github.com/Kevin-Liu-01/Claude-of-Tanks.git /tmp/Claude-of-Tanks && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-of-Tanks/docs/audio-generation ~/.claude/skills/audio-generation-handbook
Installe pour moi cette Agent Skill : https://github.com/Kevin-Liu-01/Claude-of-Tanks/tree/b6c100411f0a2ec788bde350b9b73665a4c5d8ec/docs/audio-generation — lis d’abord son SKILL.md et ses scripts, et ne l’installe dans mon dossier de compétences qu’après avoir vérifié qu’elle est sûre.

Résumé

Description d’origine · MITGenerate, select, master and wire the game's ElevenLabs sound effects and multilingual crew radio lines; repair bad takes from the cache; never synthesize or stand in for a sound.
Le SKILL.md ci-dessous est reproduit depuis Kevin-Liu-01/Claude-of-Tanks (commit b6c1004) sous licence MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 Kevin B. Liu. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

Audio-generation procedure

Purpose

<!-- agent-docs:fill:purpose -->

Take an owner's sound or voice request from a prompt to a shipped, wired and verified asset without depending on chat memory: what to write, how many takes to buy, how they are chosen, and how the engine plays them. This is a repository instruction page reached through the root agent index, not an installed plugin and not a grant to spend credits or deploy beyond the request.

Read order

<!-- agent-docs:fill:model -->

Read the handbook (pipeline, files, commands, costs, recipes), the prompt cookbook for the kind of sound you are making, and quality for scoring and failure modes. Read docs/AUDIO.md for the engine (mix, buses, crew radio scheduling) and the audio skill before touching src/audio/.

Execution

<!-- agent-docs:fill:tasks -->
  1. Pin down the moment: what the player does or hears, solo and in a network battle, and which existing event or state carries it. A sound with no moment is not shipped.
  2. Check what exists first: the catalog, the manifests, unused shipped assets and the crew script. Rebuilding or re-scoring cached takes is free; generation is not.
  3. Write the prompt from the cookbook template of its kind: one event, the perspective and material, the exclusions, "Seamless loop" or "One-shot", under 450 characters, no bright words. For a crew line, write all 38 languages in the procedure register with the same number of takes, a role, a delivery and a context.
  4. Estimate the credits (--dry), cap the run (--budget), then generate. Read the key from ELEVENLABS_API_KEY_FILE; never print or commit it.
  5. Build with a report. Read the ranking, measure the shipped variants, and look at a contact sheet. If a defect class gets through, add a scoring rule and rebuild from the cache rather than pinning by hand.
  6. Wire it: the play site, a cue override if needed, the preload set of its moment, and for a crew line its VOICE_LINES entry and its moment in voiceTriggers.selftest.mjs. Never chain a substitute (if (!play(a)) play(b)).
  7. Verify: typecheck, soundAssets, audioEngine, voiceTriggers and crewRadio selftests, and the affected tests. Run browser probes under the GPU capture lock when the mix changed.
  8. Document the round in docs/AUDIO.md (what changed, credits), commit the catalog or script, state manifests, generated manifests and files together, and publish or deploy only as requested.

Patterns and stop conditions

<!-- agent-docs:fill:patterns -->

Generate 2–3× the variants you ship (6–8 for anything with a transient). Fix a defect class in the scorer and rebuild everything it affects. Rebuild only the ids or lines you changed. Stop and ask before a run that would spend more than the owner has allowed, before replacing a sound the owner approved by ear, or when a prompt fails twice with the same defect: change the prompt or the approach, do not buy more takes of it.

Gotchas

<!-- agent-docs:fill:gotchas -->

An "occasional" wrong sound is usually one bad variant (two variants that never repeat alternate). Sequenced prompts ("a pop, then a motor") can come back split by silence. eleven_v4 doubles one- and two-word calls; trimming at pauses fixes it, more attempts do not. Homophones and digits in transcripts are not failures. The pool's debug log does not record which variant played. A cue still decoding is silent by design, so pin what a moment needs instead of covering it. The radio character is live DSP, so voices are mastered dry.

Voir le texte intégral de la licence (MIT)
MIT License

Copyright (c) 2026 Kevin B. Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Voir le NOTICE
# Claude of Tanks — authorship notice

Claude of Tanks was created, designed, and directed by **Kevin B. Liu**.
Claude and Codex were development tools; they are not authors, creators, or
copyright holders of the project's first-party work.

Unless a file, embedded notice, or [`docs/ATTRIBUTION.md`](docs/ATTRIBUTION.md)
identifies another author or license, every original file and asset in this
repository is Copyright © 2026 Kevin B. Liu.

The repository is MIT-licensed by default, with the exceptions defined in
[`LICENSE-POLICY.md`](LICENSE-POLICY.md):

- first-party material is licensed under the root MIT License unless it is
  identified as Reserved Content;
- procedural vehicle and battlefield source, fleet and map data, generated
  game assets, authored media and capture recipes, and first-party brand
  content are Reserved Content under the proprietary content license; and
- third-party material retains its original license and ownership.

The path-level map in `LICENSE-POLICY.md` determines which first-party license applies.
An individual file does not need to repeat this notice for that map to apply.
Files that this repository's own tools generate — renders, screenshots, video,
map plates, collision manifests, ledgers, receipts and other derived data — are
original first-party files under this notice, as are the masters they come from.

Every selectable vehicle model is original procedural geometry authored for
this project by Kevin B. Liu. External vehicle models are comparison or
research inputs only; they are not playable geometry and retain their original
authors and licenses.

Third-party fonts, marks, shader code, reference models, environment props,
and other exceptions remain the property of their respective authors. The UI
typefaces are Chakra Petch (Cadson Demak) and IBM Plex Sans and IBM Plex Mono
(IBM Corp., Reserved Font Name "Plex"), each under the SIL Open Font License
1.1 with its license file beside it in `public/fonts/<face>/OFL.txt`;
Cot Symbols, the marks face Kevin B. Liu drew from Chakra Petch's outlines,
ships under the same license in `public/fonts/cot-symbols/`, and Cot Accents,
the accented letters Kevin B. Liu assembled from IBM Plex Sans's own glyphs
under its own name, in `public/fonts/cot-accents/`; Glacis, Kevin Liu's
block face for the markings painted on the tanks, ships under the same license
as its outline module `src/ui/glacis.js` (license in `public/fonts/glacis/`); the
retired ABC Monument Grotesk (Dinamo Typefaces) is no longer in the tree. Their
required notices and exact paths are preserved in
[`docs/ATTRIBUTION.md`](docs/ATTRIBUTION.md) and `docs/licenses/`. The project
licenses do not replace or relicense those works.

Public revisions up to and including commit
`8f3dd548c1e78242f73d37c6b37797c7f9cdcb22` were published under MIT. Those
historical grants remain valid; the current policy governs the revision in
which it first appears and subsequent work.