audio-master
Skill2 starsChanged 4 months agoMITView on GitHub
Master tracks to commercial loudness using reference-based mastering (Matchering) + LUFS verification (PyLoudnorm) + optional polish (Pedalboard). Replaces paid services like Mixea, LANDR, eMastered with a free local pipeline. Trigger when the user says 'master this track', 'mix and master', 'make it louder', 'prepare for distrokid', 'mastering', 'LUFS', 'make it radio ready', or provides a raw Suno output and wants the final mastered version.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- badgids/Story-Film-Skillstheir own version, first seen Aug 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- badgids/Story-Film-Skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- animated-websiteSkill
- business-evolution-auditSkill
- business-mvpSkill
- closeSkill
- content-atomizerSkill
- course-creatorSkill
- deep-interrogationSkill
- firecrawlSkill
- gpt-image-2-techniquesSkill
- grand-slam-offerSkill
- legal-toolkitSkill
- line-tapperSkill
- lyric-forgeSkill
- lyric-video-forgeSkill
- lyric-video-studioSkill
- marketing-planSkill
- megaplanSkill
- metapromptifySkill
- niche-skill-forgeSkill
- octopusSkill
- openSkill
- pod-shirt-designerSkill
- polish-orchestratorSkill
- polish-workerSkill
- product-evolverSkill
- seo-content-engineSkill
- style-genome-analyzerSkill
- the-inspectorSkill
- video-prompt-builderSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 72
If outside target ±0.5 LU, script applies gain correction.
- Distinctive: line 153
Before delivering a master, verify:
≈ “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 MASTER
Suno WAV → Commercially mastered track. Reference-based. Free. Better than Mixea.
What This Is
A local mastering pipeline that replaces $99/year services. Uses open source tools:
- Matchering 2.0 — matches RMS, frequency response, peak amplitude, stereo width to a reference track
- PyLoudnorm — verifies LUFS target is hit (genre-specific)
- Pedalboard (Spotify) — optional final polish (saturation, stereo tweaks)
Why this beats Mixea: Mixea has 12 fixed presets and no album consistency. Matchering lets you use ANY reference track and batch-process whole albums with identical treatment. In blind tests, Matchering ranks 3rd out of 12 — behind only 2 professional human engineers.
Prerequisites
Python packages:
# Windows / macOS / standard venv:
pip install matchering pyloudnorm pedalboard soundfile numpy
# Debian/Ubuntu with an externally-managed Python (PEP 668), add the flag:
pip install matchering pyloudnorm pedalboard soundfile numpy --break-system-packages(Or pip install -r requirements.txt from the skill directory.)
FFmpeg (REQUIRED — hard dependency, not optional): The LUFS correction + true-peak limiting stage (adjust_lufs in scripts/master.py) shells out to ffmpeg's two-pass loudnorm filter. This stage runs by default on every master, so the pipeline will fail without ffmpeg on PATH. Verify with ffmpeg -version. On Windows install via winget install Gyan.FFmpeg (or grab a build and add it to PATH); it is also already on the system from lyric-video-forge.
The Pipeline — 4 Steps
Raw Suno WAV → [1] Match to reference → [2] LUFS verify → [3] Polish (optional) → [4] ExportStep 1: Reference Matching (Matchering)
Takes your raw track + a genre-specific reference track. Matches:
- RMS (loudness)
- Frequency Response (tonal balance)
- Peak amplitude
- Stereo width
Output: 24-bit WAV that sonically mirrors the reference.
Step 2: LUFS Verification (PyLoudnorm)
CRITICAL: Tracks distributed via a distributor like DistroKid (Spotify/Apple/Tidal/YouTube Music) + lyric videos on YouTube all land on platforms that normalize to -14 LUFS.
This means mastering loud (-7 LUFS) is counterproductive — Spotify just turns it down and you lose dynamic range. The correct strategy is -10 LUFS with -1 dBTP ceiling — ~4 dB headroom above normalization floor for punch without sacrificing dynamics.
| Genre | Target LUFS | True Peak | Why |
| Industrial metal | -10.0 | -1 dBTP | Punchy on Spotify, keeps dynamics |
| EDM industrial | -10.0 | -1 dBTP | Club-ready impact preserved |
| Doom | -11.0 | -1 dBTP | Doom NEEDS breathing room |
| Folk metal shanty | -10.5 | -1 dBTP | Shantyman/choir contrast |
| Dark cinematic | -12.0 | -1 dBTP | Cinematic needs widest dynamics |
| Tribal metal | -10.0 | -1 dBTP | Primal impact |
--streaming (secondary) | -14.0 | -1 dBTP | Only if you want a pre-normalized version |
--club (download/DJ only) | -7.0 | -1 dBTP | NEVER upload this version to streaming |
The math: Spotify normalizes everything to -14 LUFS. If you master at -10, Spotify plays it at -14 with a 4 dB gain reduction applied. If you master at -7, Spotify applies 7 dB reduction — same final volume, but your -7 master had to sacrifice 3 more dB of dynamic range to get there. Less dynamic range = worse perceived sound at the same loudness.
If outside target ±0.5 LU, script applies gain correction.
Step 3: Pedalboard Polish (Optional)
Apply final touches:
- Tape saturation (warmth)
- Stereo widening (for EDM/industrial)
- High-shelf boost (air, presence)
- Final brickwall limiter backup
Step 4: Export
Outputs:
{name}_mastered_24bit.wav— hi-res for DistroKid{name}_mastered_16bit.wav— CD/streaming standard{name}_master_report.json— LUFS, true peak, dynamic range measurements{name}_streaming.wav— secondary version at -14 LUFS for Spotify/YouTube (optional)
Reference Track Setup
The skill needs genre-specific reference tracks. Place them in references/:
references/
├── reference_map.json # Genre → filename mapping
├── industrial_metal.wav # e.g. Rammstein "Mein Herz Brennt"
├── edm_industrial.wav # e.g. Angerfist or Perturbator
├── doom_sludge.wav # e.g. Electric Wizard "Dopethrone"
├── folk_metal_shanty.wav # e.g. Wind Rose "Diggy Diggy Hole"
├── dark_cinematic.wav # e.g. Two Steps from Hell
└── tribal_metal.wav # e.g. Sepultura "Roots"Rule: Reference tracks should be professionally mastered, commercially released, same key/tempo zone as your target (ideally), and match the energy you want.
CLI Usage
# Auto-detect genre from filename or flag
python scripts/master.py --input plateau.wav --genre doom
# Explicit reference
python scripts/master.py --input evek.wav --reference references/edm_industrial.wav
# Album mode — master multiple tracks with SAME reference for consistency
python scripts/master.py --album ./tracks/ --reference references/industrial_metal.wav --output ./mastered/
# Override LUFS target
python scripts/master.py --input track.wav --genre doom --lufs -8
# Include streaming version (-14 LUFS secondary output)
python scripts/master.py --input track.wav --genre doom --streaming
# Skip polish step (Matchering only)
python scripts/master.py --input track.wav --genre doom --no-polishPipeline Integration
This skill fits between lyric-forge (song writing) and lyric-video-forge (video):
┌─────────────┐ ┌────────┐ ┌──────────────────┐ ┌──────────────────┐
│ lyric-forge │───▶│ Suno │───▶│ audio-master │───▶│ lyric-video-forge│
│ (script) │ │ (raw) │ │ (mastered WAV) │ │ (MP4 with audio) │
└─────────────┘ └────────┘ └──────────────────┘ └──────────────────┘
│
▼
DistroKid / SpotifyScripts
| File | Purpose |
scripts/master.py | Main CLI pipeline (Matchering → LUFS → Pedalboard → export) |
scripts/lufs_check.py | Standalone LUFS measurement + correction |
scripts/reference_map.py | Genre → reference track resolution logic |
Quality Gate
Before delivering a master, verify:
- LUFS within ±1 of target for the genre
- True peak ≤ -1 dBTP (no clipping)
- Dynamic range (LRA) ≥ 4 LU for doom/industrial, ≥ 6 LU for shanty
- No audible artifacts introduced by limiter
- A/B compared against original Suno output (should sound tonally closer to reference, but not completely different)
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.

