audio-mixing
Skill99 starsChanged 6 months agoApache-2.0View on GitHub
Mix speech audio and background music into a polished radio show file.
In this repository27 other files it gives its agents.
- ai-radio/AGENTS.mdAGENTS.md
- customer-support/AGENTS.mdAGENTS.md
- data-analyst/AGENTS.mdAGENTS.md
- document-processor/AGENTS.mdAGENTS.md
- news-curator/AGENTS.mdAGENTS.md
- repo-maintainer/AGENTS.mdAGENTS.md
- seo-auditor/AGENTS.mdAGENTS.md
- cover-image-generationSkill
- metadata-generationSkill
- music-generationSkill
- researchSkill
- script-writingSkill
- tts-generationSkill
- memorySkill
- scannerSkill
- data-explorerSkill
- python-dataSkill
- pdf-parsingSkill
- reconciliationSkill
- slide-creatorSkill
- vendor-verificationSkill
- briefingSkill
- curationSkill
- deliverSkill
- fetch-newsSkill
- github-researcherSkill
- git-workflowSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
If no background music exists, produces speech-only output with just fade-in/fade-out applied.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audio Mixing
Combine the TTS speech audio and Lyria background music into a single, polished radio show file.
Embedded Script
python3 skills/audio-mixing/scripts/mix_audio.py --workspace ./workspaceArguments
| Argument | Default | Description |
--workspace | workspace | Root workspace directory |
What it does
- Loads speech from
{workspace}/audio/speech/speech.wav. - Adds 3 seconds of silence padding to the end of the speech to prevent it from being faded out.
- Loads background music from
{workspace}/audio/music/background.mp3(if exists). - Loops music to match speech duration, lowers volume to -18dB.
- Overlays speech on music with a 1-second music intro.
- Adds fade-in/fade-out.
- Exports as MP3.
Dependencies
pydubffmpeg(system)
Mixing Guidelines
| Element | Level | Notes |
| Speech | 0 dB | Untouched, full volume |
| Background music | -18 dB | Barely audible — subtle bed under speech |
Transitions
- Music fade-in: 3 seconds
- Music fade-out: 5 seconds
- Overall fade-in: 500ms
- Overall fade-out: 2 seconds
Output
| File | Path | Format |
| MP3 (distribution) | {workspace}/audio/final/ai_radio.mp3 | MP3, 192kbps |
Fallback
If no background music exists, produces speech-only output with just fade-in/fade-out applied.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

