ableton-auto-mix-mcp
Style-aware auto-mixing and mastering for Ableton Live, providing tools for analysis, preview rendering, and release checks.
README
MusicMixCode — Ableton Auto-Mix MCP

An MCP server for auto-mixing and auto-mastering in Ableton Live tuned to a musical style/genre. An AI agent (opencode, Claude Code, Claude Desktop...) analyzes render files of your tracks, compares them against a style profile and produces/applies corrections: levels, pan, EQ hints, compression — and additionally renders a mastered preview mix (sidechain, HPF, mud-cut, soft-clipper, true-peak limiter).
Features
- 10 MCP tools: analysis, style-based auto-mix, preview render, release check.
- 11 style profiles (JSON): techno, hip_hop, pop, lo_fi, ambient, balanced, trance, breaks, dubstep, drum_n_bass, trap.
- Mastering stage: sidechain (kick → bass, snare-band Dynamic EQ), role-based HPF, 200–500 Hz mud-cut, tanh soft-clipper, LUFS normalization, true-peak lookahead limiter (4× oversampling), TPDF dither.
- Stereo imaging: mid/side width per role (mono for kick/sub, wide/very_wide for hats/pads) + panning.
- Spectral role detection: if the file name doesn't hint a role, it's inferred from the spectrum.
- Release Check: LUFS/LRA/true-peak/RMS/sub-mid-gap against top-label targets —
ready/needs_workverdict. - Conflict analysis: which track pairs fight over frequency bands.
- Offline mode: analysis and previews work without Ableton Live (only WAV renders are needed).
Architecture
You → MCP client → ableton-auto-mix-mcp (MCP server)
├── styles/*.json — style profiles (target curves)
├── analyzer.py — LUFS/LRA, spectrum, stereo width (librosa/pyloudnorm)
├── mixer.py — engine: analysis vs profile → corrections (anchor = kick, LUFS)
├── preview.py — preview-mix render + mastering chain
├── qa.py — conflict analysis + release check
└── ableton_client.py — AbletonOSC (python-osc) → Ableton Live
Principle: the MCP itself does not "mix" — it provides tools and metrics while the model decides. Cycle: render → analyze → dry-run report → preview mix → release check → apply corrections.
Installation
pip install -r requirements.txt # or: pip install -e .
Then connect the MCP server in your client (example for Claude Code / opencode):
{ "mcpServers": { "ableton-auto-mix": {
"command": "python", "args": ["-m", "ableton_auto_mix"],
"cwd": "C:/path/to/ableton-auto-mix-mcp"
}}}
Analysis and preview rendering do not require Ableton Live — one WAV per track is enough.
Ableton setup (optional, for auto-apply)
- Launch Ableton Live.
- Install the AbletonOSC control surface (https://github.com/ideoforms/AbletonOSC).
- Preferences → Link, Tempo & MIDI → Control Surface → AbletonOSC.
- Bounce each track into
renders/(one WAV per track) for analysis.
MCP tools
| Tool | What it does |
|---|---|
list_styles |
list of styles and their targets |
get_style(name) |
full style profile (curve, balance, compression, FX) |
get_ableton_status |
check the connection to Live |
analyze_audio(path) |
metrics for one WAV |
analyze_render_dir(dir) |
metrics for all renders |
auto_mix(style, render_dir, dry_run) |
corrections for a style (dry-run or apply to Live) |
suggest_style(render_dir) |
which style fits your material best |
preview_mix(style, render_dir, ...) |
render a master-ready preview mix to WAV |
analyze_conflicts(render_dir) |
track pairs fighting for frequency bands |
release_check(style, render_dir) |
LUFS/TP/LRA vs label targets, ready/needs_work verdict |
Example session
"Mix the renders from renders/ in a techno style, show what to change"
→ auto_mix("techno", "renders", true)
"OK, go ahead"
→ auto_mix("techno", "renders", false)
"Render a mastered preview mix"
→ preview_mix("breaks", "renders", max_duration=30)
"Check if the mix is release-ready"
→ release_check("breaks", "renders")
CLI (without an MCP client)
Everything is available from the command line via python -m ableton_auto_mix <command>
(or ableton-auto-mix-mcp <command> after installing):
ableton-auto-mix-mcp styles # list styles
ableton-auto-mix-mcp style breaks # style profile
ableton-auto-mix-mcp analyze renders/ # metrics of all renders
ableton-auto-mix-mcp suggest renders/ # which style fits
ableton-auto-mix-mcp mix breaks renders/ # dry-run: what to change
ableton-auto-mix-mcp preview breaks renders/ --max-duration 30 # preview mix to WAV
ableton-auto-mix-mcp conflicts renders/ # frequency conflicts
ableton-auto-mix-mcp release breaks renders/ # ready/needs_work verdict
Output is JSON (script-friendly). Example: preview breaks renders/ --manual-gain "bass=2.0,snt2=-4.0" --output out.wav.
Styles
Styles ship inside the package (ableton_auto_mix/styles/) — 11 profiles: techno, hip_hop, pop, lo_fi, ambient,
balanced, trance, breaks, drum_n_bass, trap.
Each profile defines: target LUFS/LRA, a spectral curve (6 bands), relative instrument levels
(kick/bass/vocals/lead/wobble/breaks/...), per-role HPF, mud-cut, sidechain, mastering settings, compression and
FX recommendations. You can add your own: copy a JSON and change name and targets.
To use custom styles without editing the package, point to an env var:
export ABLETON_AUTO_MIX_STYLES_DIR=/path/to/my-styles
Tests
python tests/test_smoke.py # 5 smoke tests: render → mix → preview → release check
Limitations
- Analysis is done on renders (offline), since Live doesn't stream samples in real time via OSC.
- A track role is inferred from its filename; unknown names fall back to spectrum analysis (kick, bass, vocals...). Name tracks explicitly for accuracy.
auto_mix(dry_run=false)requires a running Ableton Live with the AbletonOSC control surface.- Preview mastering applies the profile's standard chain; do the final touch-up manually.
License
MIT © 2026 MusicMixCode / HighVoltSound
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。