AI Music Mastering Suite — v2.3.3.1
A local, open-source mastering toolkit for Suno and other AI-generated music. Prepares WAV files for professional streaming upload or personal listening. Runs entirely on your machine — no audio leaves your computer, no subscription required.
AI music generators introduce specific technical flaws that standard mastering tools aren't calibrated for — hard frequency cutoffs, synthesis dropouts, diffusion haze, buried vocals, phase corruption at generation boundaries. StreamMaster corrects these while normalising to the exact loudness targets used by Spotify, Apple Music, Tidal, and YouTube Music.
Two output profiles:
- Streaming — −14 LUFS · −1 dBTP · bright and forward, calibrated to survive platform encoding
- Local listening — −16 LUFS · −2 dBTP · warmer, for personal use without platform normalisation
Windows
- Install Python 3.10+ — tick "Add Python to PATH"
- Double-click
Launch.bat - Browser opens to
http://localhost:5051
macOS / Linux
chmod +x launch.sh
./launch.shFirst run installs dependencies automatically (~30 seconds). No internet required after that.
| Tab | What it does |
|---|---|
| 🔬 Analyse | Full diagnostic — loudness, stereo image, spectrum, sibilance, dropouts, dynamic range, AI engine detection. Extended heuristics compute track-specific parameter recommendations. After analysis, four 30-second preview variants are generated automatically (Raw, Optimised, Vocal Forward, Preserve Character) for side-by-side comparison before committing to a full export. |
| 🎛 Master | 15-stage mastering chain. Export Both (primary) generates streaming and local versions in one action. Individual Streaming only / Local only buttons also available. Advanced panel for de-esser, vocal ride, macro dynamics. Expert panel for all 12 chain parameters with contextual help. Automatic QC on every export. Every export recorded to history. |
| 🎚 Stem Master | Separates the track into vocals, drums, bass, and melody using Demucs, then masters each stem independently before recombining. Solves the core limitation of full-mix mastering — vocals and instrumentals can have different optimal settings. Requires pip install demucs. |
| 🎯 Ref Match | Match tonal balance and loudness to a commercial reference track via Matchering. |
| Tab | What it does |
|---|---|
| ⚡ De-Jinx | Detects and repairs Suno synthesis dropouts — moments where the generator collapses to near-silence. Shows a timestamped list of every repair zone. |
| 🔧 Repair | Detects and repairs generation boundary phase corruption — the hollow or "anti-phase" artefact that appears at Suno section joins. Phase repair always available; stem-based repair requires Demucs. |
| ✂️ Splice | Replace any section of the track with a clip from a regenerated version. Handles level-matching and crossfading automatically. |
| 🩹 Heal | Smooth the join points left by a Suno internal replacement. No replacement clip needed. |
| 📈 Bridge | Ride gain across quiet passages that follow a splice or level mismatch. |
| Tab | What it does |
|---|---|
| 📋 History | Full record of every master export — source file, output filenames, all settings used, QC result, and engine detection. Grouped by source file. One-click import of any previous session's settings back into the Master tab. |
Standard track — everyday use
Analyse → Master (Apply analysis settings) → Export Both
Tracks where raw Suno sounds better than the remaster
De-Jinx → Repair → Export (skipping the mastering chain)
Some tracks have perceptually valuable spectral characteristics that the mastering chain removes. Use De-Jinx and Repair to fix genuine faults without altering the sonic character.
Tracks with vocals that need work but strong raw instrumentals
Analyse → Stem Master (full chain on vocals, minimal on other stems)
Track with synthesis dropouts
De-Jinx → Use in tool → Master → Export Both
Track with a replaced section
De-Jinx → Splice → Heal → Bridge → Master → Export Both
Matching a commercial release
Master → Use in tool → Ref Match
Re-mastering with previous settings
History tab → find entry → Import settings → Master → Export Both
After analysis, StreamMaster automatically generates four 30-second clips in the background — one per variant — while you read the analysis report. A waveform scrubber shows the full track with the auto-selected preview window highlighted. The window is placed on the most musically representative section (highest vocal + full-mix energy, avoiding intros and outros).
| Variant | What it does |
|---|---|
| Raw | Unprocessed — LUFS normalised only. The reference point. |
| Optimised | Full chain with analyser-recommended settings derived from the track's actual measurements. |
| Vocal Forward | Same as Optimised but with more presence widening, tighter de-essing, and brighter air. Vocal sits further forward. |
| Preserve Character | Minimal processing — LUFS normalised only, no EQ, no M/S, no saturation. For when the raw Suno file sounds better and you just need it streaming-ready. |
Click any variant card to play. Click Use these settings to apply that variant's parameters to the Master tab. Drag the waveform window to preview a different section and click Regenerate — clips are re-extracted from the already-processed full variants, so regeneration is near-instant.
All 15 stages run automatically. The Analyser computes track-specific recommended values for each parameter from continuous measurements rather than fixed thresholds.
- Resample → 44.1 kHz
- EQ: air shelf @ 10 kHz, mud cut @ 380 Hz (both derived from spectral tilt measurement)
- Air restoration — fills Suno's 16 kHz hard cutoff with shaped noise
- Spectral dehaze — breaks up diffusion model flatness in 8–16 kHz
- M/S processing — bass anchored to centre, presence widened in side channel
- De-esser — complementary band-split (unity sum guaranteed): compresses 4–12 kHz only
- High-freq dynamics — broad dynamic shelf above 5 kHz (Expert panel, Off by default)
- Harmonic saturation — parallel tanh (depth derived from engine and crest factor)
- Glue compression — 2:1 on mid channel only
- Dynamic EQ — threshold-driven 2–4 kHz cut
- Transient shaping — restores attack transients (boost derived from crest factor measurement)
- Vocal ride — adaptive reference, corrects short-term drops only (Off by default)
- Macro dynamics — section-aware contrast shaping (Off by default)
- Profile adjustment — Streaming or Local warmth curve
- Loudness normalisation — −14 or −16 LUFS
- True-peak limiting — −1 or −2 dBTP
- Export — 44.1 kHz / 16-bit WAV
- QC — automatic: clipping, dropouts, clicks, LUFS, true peak, phase
All 12 parameters in the Expert panel have contextual ? help buttons explaining what each does and when to change it from the default.
| Parameter | Default | Notes |
|---|---|---|
| EQ air shelf | +1.5 dB | High shelf @ 10 kHz. Derived from spectral tilt. |
| EQ mud cut | −2.0 dB | Peak cut @ 380 Hz. Derived from low-mid excess. |
| Air restore blend | 0.018 | Noise floor above 16 kHz. 0 = disable. |
| Dehaze depth | ±4% | AM modulation 8–16 kHz. 0 = disable. |
| Saturation drive | +6 dB | Parallel tanh drive level. |
| Saturation mix | 15% | Wet/dry blend. |
| Comp threshold | −18 dBRMS | Mid-channel glue compression threshold. |
| Comp ratio | 2.0 : 1 | Glue compression ratio. |
| Transient boost | +2.5 dB | Derived from crest factor. 0 = disable. |
| Dyn EQ max cut | 3 dB | Max cut from 2–4 kHz dynamic EQ. |
| Sub-bass side mix | 15% | How much sub-bass stays in the side channel. 100% for wide bass sound design. |
| High-freq dynamics | Off | Dynamic high-shelf above 5 kHz. Set −28 dBRMS for cutting high-end tracks. |
Each stem card has a ? button with guidance including recommended settings for Pop/vocal, Orchestral/cinematic, Electronic/EDM, and Raw Suno preferred scenarios.
| Stem | Key defaults |
|---|---|
| 🎤 Vocals | Air +1.5 dB, mud −2 dB, M/S +1.9 dB, de-esser Medium, 2:1 compression |
| 🥁 Drums | Transient +3.5 dB, 3:1 compression, 20% saturation, 50% side mix |
| 🎸 Bass | 3:1 compression, 15% saturation, 100% side mix (preserve all bass width) |
| 🎹 Other/Melody | Air +1 dB, 80% side mix (preserves instrumental character) |
For orchestral/cinematic tracks: set M/S Width to 0 and Side mix to 100% on the Other stem to preserve the full original stereo character while still giving the vocal stem full processing.
TrackName_remaster_w1.9dB_d-2_v0_m0.0_streaming.wav
| Token | Meaning |
|---|---|
w1.9dB |
Stereo presence width applied |
d-2 |
De-esser setting (−2 = Off) |
v0 |
Vocal ride max boost (0 = Off) |
m0.0 |
Macro dynamics target (0 = Off) |
_streaming / _local |
Output profile |
Open the About modal (top-right) to toggle which tabs are visible. Analyse and Master are always shown. All other tabs — Stem Master, Ref Match, De-Jinx, Repair, Splice, Heal, Bridge — can be hidden individually. State is saved to localStorage. Reset to defaults restores everything.
| File | Purpose |
|---|---|
Launch.bat |
Windows launcher |
launch.sh |
macOS / Linux launcher |
server.py |
Local Flask server (port 5051) |
index.html |
Browser UI |
spotify_master.py |
15-stage mastering chain |
mastering_extras.py |
EQ, de-esser, compressor, transient, dehaze, dynamic high-shelf |
vocalride.py |
Adaptive vocal presence automation |
analyser.py |
Track analysis and extended heuristic recommendations |
previewer.py |
Preview variant generator — four 30-second clips after analysis |
history.py |
Mastering history store (history.json) |
dejinx.py |
Synthesis dropout repair |
qc.py |
Quality control checks |
splice.py |
Section replacement |
heal.py |
Seam healer |
levelbridge.py |
Level/gain bridge |
repair.py |
Phase boundary corruption repair |
stem_master.py |
Per-stem mastering (requires Demucs) |
requirements.txt |
Python dependencies |
logo.svg |
App icon / scalable logo mark |
docs/logo_hero.png |
Hero image for README |
- Python 3.10+
- Windows 10/11, macOS, or Linux
- ~500 MB disk space (Python packages)
- ~4 GB additional disk if installing Demucs (optional, for Stem Master and Repair)
- Internet on first run only
pip install -r requirements.txt
Core packages: flask flask-cors pyloudnorm soundfile scipy numpy matchering
Optional: pip install demucs — enables Stem Master and stem-based Repair
Some tracks sound better without full mastering The mastering chain removes spectral artifacts that are technically incorrect but perceptually contribute to a track's character — Suno's upsampling imaging creates spaciousness, the 8–16 kHz diffusion haze adds texture, wide sub-bass creates physical presence. Removing these makes the mix more accurate but sometimes less compelling. Use De-Jinx and Repair to fix genuine faults without altering the sonic character. The Preserve Character preview variant gives you a streaming-ready version with minimal processing for exactly this case.
Vocals and instrumentals may need different processing On tracks with strong orchestral or cinematic instrumental beds, the vocal benefits from the mastering chain while the instrumental loses impact from bass anchoring and spectral cleanup. Use the Stem Master tab — set M/S Width to 0 and Side Mix to 100% on the Other stem to preserve the original instrumental character while fully processing the vocal.
Stereo width narrowing on wide sub-bass tracks The chain anchors sub-bass to centre by default (15% side mix). For tracks with intentionally wide low-frequency effects, increase Sub-bass side mix in the Expert panel towards 100%.
Streaming master sounds brighter than local Intentional — the streaming version is calibrated to survive Ogg Vorbis encoding. If it sounds sharp in your local player, that is expected and correct. Use the local version for personal listening.
De-esser at high settings affects voice character The de-esser's band-split architecture preserves vocal body below 4 kHz, but at Strong/Aggressive/Max settings perceived voice character can still shift. Default is Off — the Analyser recommends a setting based on the measured sibilance crest factor.
MIT — see LICENSE
