Skip to main content
Glama
ableton-release-studio

ableton-release-studio

by paul1064
README.md
# Ableton Release Studio (`ableton-release-studio`)

**Zero-dependency Ableton Live 12 Co-Producer, Binary SMF0 MIDI Verifier, Parameterized Tekno & `-9 LUFS` Blueprint Engine, 24-Bit/192 kHz Psychoacoustic WAV Synthesizer, and SoundCloud-to-Spotify/DistroKid Release Packager — with an Interactive MCP App UI.**

[![Node >= 20](https://img.shields.io/badge/node-%3E%3D20-00e5a3)](./package.json)
[![Zero Dependencies](https://img.shields.io/badge/dependencies-0-ff6b2b)](./package.json)
[![MCP App Ready](https://img.shields.io/badge/MCP%20App-ui%3A%2F%2F-59a9ff)](./src/mcp-server.mjs)
[![Live Web Calculator](https://img.shields.io/badge/Web%20Tool-303%20MIDI%20%26%20--9%20LUFS-00e5a3)](https://paul1064.github.io/ableton-release-studio/)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue)](./LICENSE)

> **Try the Free Browser Tool (Zero Install):** [**Ableton 303 MIDI & `-9 LUFS` Mastering Headroom Calculator -> `https://paul1064.github.io/ableton-release-studio/`**](https://paul1064.github.io/ableton-release-studio/) — generate & download binary-verified 480-TPB `.mid` clips, inspect 13-point `ppalPos` curves, and calculate exact Ableton Live 12 Limiter thresholds right in your browser.

---

## Quick Install (Agent Skills + CLI + MCP)

Install the 4 bundled Agent Skills (`ableton-midi-coproducer`, `tekno-werkbank`, `frequenz-labor-builder`, `soundcloud-release-packager`) directly into Claude Code, Cursor, Codex, Windsurf, or Antigravity:

```bash
npx skills add paul1064/ableton-release-studio
```

Or clone and run the unified zero-dependency CLI & test suite directly on Node.js >= 20:

```bash
git clone https://github.com/paul1064/ableton-release-studio.git
cd ableton-release-studio
node ./src/cli.mjs --help
npm test
```

---

## Why `ableton-release-studio`?

Most DAW MCP wrappers expose raw faders without acoustic guardrails, hallucinate missing ISRCs/UPCs, or produce MIDI files with hanging Note-Ons and drifted bar lengths. **`ableton-release-studio`** enforces hard binary and psychoacoustic invariants at every stage of production and distribution:

1. **Ear-Safe Ableton Live 12 Co-Producer (`midi-check.mjs`):**
   - Binary SMF Format-0 (`480` TPB) generator & verifier for **Acid-303** (`30..66`, 20-tick legato slides + `>=115` velocity accents), **Minor Motives** (`48..84`), and **909/GM Drums** (`35..81`).
   - Hard checks: exact 4/4 bar-multiple ticks (`1920` ticks/bar), zero hanging notes, strict pitch bounds, and pairwise sequence uniqueness across stem packs.
   - Live 12 safety invariants: `<= -6.0 dBFS` pre-master headroom, max `+6.0 dB` gain step while transport is running, `<= 0.0 dBFS` Master ceiling, and non-destructive `<Track>_vNN.als` set versioning.
2. **Parameterized Hybrid Tekno Blueprint & `-9.0 LUFS` Mastering (`tekno-blueprint.mjs`):**
   - Whitelabeled via `--artist`, `--brand`, and `--preset` (includes opt-in showcase [`examples/nobis23-preset.json`](./examples/nobis23-preset.json)).
   - Enforces the **3+1 Yuga arrangement rule**, radical minimalism (`<= 5` simultaneous active tracks with breathing phrase handoffs), **Bass Variant A** (80 Hz sidechain HPF), **13-point Producer-Pal (`ppalPos`) organic automation curves** (exponential run-up -> pre-peak breath dip -> `4 Q A` peak -> plateau), Suno `techno`-vs-`tekno` prompt linting, and exact `-9.0 LUFS` / `-1.0 dBFS` True Peak limiter threshold math.
3. **Evidence-Graded 24-Bit / 192 kHz Psychoacoustic WAV Lab (`frequenz-gen.mjs`):**
   - Mandatory Evidence Grade `A–D` validation, psychoacoustic `> 35 Hz` binaural decay guard (enforcing click-free raised-cosine isochronic envelopes), Voss-McCartney pink/brown noise beds, `<= -3.0 dBFS` headroom, 100% cleartext transcript enforcement, and **25% blind placebo trial scheduling**.
4. **SoundCloud-to-Spotify/DistroKid Packager (`sc-album-gen` + `release-kit.mjs`):**
   - OAuth 2.1 PKCE + keyless `__sc_hydration` catalog scanner, original-track detector (filters out DJ sets, bootlegs, reposts, WIPs), binary RIFF/WAVE + FLAC + `3000x3000 px` RGB cover matcher, Camelot/BPM sequencer, and zero-hallucination release-kit exporter (`null` + `## Offen` checklist for missing ISRC/UPC, hard-counted DE/EN 200/500/1200-char copy, 15–25 `#`-free tags).

---

## CLI Usage Examples

```bash
# 1. Generate & binary-verify an Acid-303 MIDI clip (legato slides + accents >= 115)
node ./src/cli.mjs midi generate --type acid --bars 4 --bpm 180 --root 41 --out ./tmp/acid_303.mid
node ./src/cli.mjs midi verify ./tmp/acid_303.mid --type acid

# 2. Generate all 8 showcase 180-BPM Acid/Tribe/909/Bridge MIDI stems
npm run showcase:midi

# 3. Run parameterized arrangement plan, 13-point ppalPos curve & -9 LUFS limiter check
node ./src/cli.mjs blueprint plan --bpm 180 --bars 277 --key Bm --artist "YourArtist" --brand "Custom Studio"
node ./src/cli.mjs blueprint plan --preset ./examples/nobis23-preset.json
node ./src/cli.mjs blueprint curve --start-bar 129 --bars 44 --min 0.08 --max 0.88
node ./src/cli.mjs blueprint check-lufs --lufs -10.8 --tp -1.1 --duration-sec 369 --threshold -8

# 4. Render 24-bit / 192 kHz stereo psychoacoustic WAV & 25% blind placebo schedule
node ./src/cli.mjs frequenz blind-test --preset gamma40 --trials 8
node ./src/cli.mjs frequenz render --preset schumann_phi --seconds 5 --rate 192000 --out ./tmp/schumann_192k.wav

# 5. Run end-to-end SoundCloud -> 24-bit WAV + 3000px RGB -> DistroKid/Spotify EP demo
node ./src/sc-cli.mjs demo --out ./tmp/release-packages

# 6. Build & validate a strict null-safe DE/EN Release-Kit
node ./src/cli.mjs release-kit generate ./examples/sample-release-brief.json --out ./tmp/kit
node ./src/cli.mjs release-kit validate ./tmp/kit
```

---

## Interactive MCP Server & MCP App UI (`ui://ableton-release-studio/app.html`)

Add `ableton-release-studio` to your MCP client configuration (`claude_desktop_config.json`, `.cursor/mcp.json`, or Antigravity MCP settings) to unlock **7 deterministic studio tools** plus an inline **MCP App UI** featuring a 480-TPB MIDI Piano Roll, 13-point `ppalPos` automation curve viewer, and interactive `-6 dBFS / -9.0 LUFS` loudness & safety meter:

```json
{
  "mcpServers": {
    "ableton-release-studio": {
      "command": "node",
      "args": ["./src/mcp-server.mjs"]
    }
  }
}
```

---

## Pro Studio Bundles, Verified MIDI Stems & VST3 Vault

Want the complete production library, full-length studio handbooks, mastered 24-bit audio beds, and custom C++ DSP plugins built on top of this engine?

- **[NOBIS23 Storefront on Gumroad -> `https://nobis23.gumroad.com`](https://nobis23.gumroad.com)**
  - **Complete Studio, MIDI & AI Vault (€119):** 17 in-depth Studio, Ableton, Mixing, Mastering & AI Engineering PDF handbooks + 8 binary-verified 180-BPM Acid/Tribe/909 MIDI stem suites + 24-bit lossless WAV masters + `SHIFT23` / `SHIFT23 FX` C++ VST3 DSP tools.
  - **Kitchen-Komplett-Paket (€42):** Complete 15-book *Producer, Ableton, REAPER, Linux Studio, Mix, Mastering, Suno, Script & Prompt Kitchen* series (347 pages, 225 step-by-step production recipes).

---

## Repository Structure

```text
ableton-release-studio/
├── src/
│   ├── cli.mjs                 # Unified CLI entrypoint (ableton-release-studio)
│   ├── sc-cli.mjs              # SoundCloud-to-Spotify/DistroKid CLI (sc-album-gen)
│   ├── mcp-server.mjs          # Zero-dep stdio MCP server + MCP App resource host
│   ├── mcp-app.html            # Self-contained MCP App (MIDI Roll + -6 dBFS / -9 LUFS Meter)
│   ├── midi-check.mjs          # Binary SMF0 MIDI generator/verifier + Live 12 safety guard
│   ├── tekno-blueprint.mjs     # Parameterized 3+1 arrangement, ppalPos curves & -9 LUFS math
│   ├── frequenz-gen.mjs        # Evidence A-D validator, 25% blind placebo & 24-bit/192kHz WAV
│   ├── release-kit.mjs         # Zero-hallucination DE/EN release-kit builder & validator
│   ├── soundcloud-client.mjs   # SoundCloud OAuth 2.1 PKCE + __sc_hydration parser
│   ├── original-detector.mjs   # Original-track vs. DJ-set/bootleg/repost classifier
│   ├── local-matcher.mjs       # Binary RIFF/WAVE, FLAC & 3000x3000px RGB inspector/matcher
│   ├── album-seo-engine.mjs    # Camelot sequencer + DistroKid/Spotify/SC release packager
│   ├── server.mjs & ui.html    # Local Web Studio UI (port 4323)
│   └── index.mjs               # Public ESM exports
├── skills/                     # Compatible with `npx skills add paul1064/ableton-release-studio`
│   ├── ableton-midi-coproducer/
│   ├── tekno-werkbank/
│   ├── frequenz-labor-builder/
│   └── soundcloud-release-packager/
├── examples/
│   ├── nobis23-preset.json     # Opt-in 180 BPM NOBIS23 showcase preset
│   ├── sample-release-brief.json
│   └── generate-showcase-midis.mjs
└── test/
    └── ableton-release-studio.test.mjs
```

## License

MIT © [paul1064](https://github.com/paul1064)