---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://framesfield.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "Commercial AI Music, Stems & 3-Track Soundtracking Pipeline"
description: "Generate one 58-second vocal-free commercial underscore via ElevenLabs Music API ($0.60 pay-as-you-go with force_instrumental: true), cut your 30s, 15s, and 6s ad stings from that single cleared master, carve a -3 dB speech pocket at 2 kHz in FFmpeg, and export both a -14 LUFS master mix and a dialogue-free M&E stem."
canonical: "https://framesfield.com/workflows/ai-music-stems-and-commercial-soundtracking-pipeline"
---

# Commercial AI Music, Stems & 3-Track Soundtracking Pipeline

> Generate one 58-second vocal-free commercial underscore via ElevenLabs Music API ($0.60 pay-as-you-go with force_instrumental: true), cut your 30s, 15s, and 6s ad stings from that single cleared master, carve a -3 dB speech pocket at 2 kHz in FFmpeg, and export both a -14 LUFS master mix and a dialogue-free M&E stem.

- **Canonical URL:** https://framesfield.com/workflows/ai-music-stems-and-commercial-soundtracking-pipeline
- **Difficulty:** Beginner
- **Estimated Time:** 25 min
- **Estimated Cost:** $0.60 per 58s cleared commercial bed (covers 30s + 15s + 6s cutdowns)
- **Last Verified:** 2026-12-01
- **Tools Used:** ElevenLabs Music API (https://framesfield.com/specs/elevenlabs-music), Suno v6 (https://framesfield.com/specs/suno-v6), ElevenLabs Sound Effects v2 (https://framesfield.com/specs/elevenlabs-sfx), Kokoro-82M (Open-Weight TTS) (https://framesfield.com/specs/kokoro-82m)

## Pipeline Architecture

01. **Music Spotting Brief** (BPM + 3-Instrument Spec): Lock tempo, key, energy curve, and strict instrumental exclusion
02. **Cleared Music Bed** (ElevenLabs Music API): Generate 58s underscore ($0.60) with force_instrumental: true
03. **3-Stem Carve & Duck** (FFmpeg 7.x Audio Graph): 48 kHz resample, -3 dB @ 2 kHz EQ dip, sidechain duck under VO
04. **Broadcast Mix + M&E** (48 kHz WAV / -14 LUFS): Ship crisp commercial mix plus dialogue-free M&E archive stem

## Playbook

Dropping a raw `-9 LUFS` AI music MP3 onto a timeline and nudging the volume slider down never sounds like a studio mix: busy mid-range synths still mask spoken consonants, 44.1 kHz files drift slightly against 48 kHz video clocks, and generating separate tracks for 30s, 15s, and 6s ad cutdowns wastes time and budget.

This reproducible 3-stem recipe scores an entire commercial campaign for **`$0.60`** using [ElevenLabs Music API](/specs/elevenlabs-music) (`fal-ai/elevenlabs/music`) plus deterministic FFmpeg EQ carving and sidechain ducking. For full licensing rules across [ElevenLabs Music](/specs/elevenlabs-music), [Suno v6](/specs/suno-v6), and [Stable Audio Open](/specs/stable-audio-open), read our [AI Music, Stems & Commercial Soundtracking Guide](/guides/ai-music-stems-commercial-licensing-and-soundtracking-guide).

## Step 1: Write a spotting brief that leaves room for speech

Never ask for *"catchy pop melody"* behind a founder voiceover—a prominent lead melody competes directly against spoken cadence. Use our interactive [Commercial Music Brief & Stem Prompt Builder](/skills/commercial-music-brief-and-stem-prompt-builder) to lock four concrete parameters:
1. **Exact BPM and key:** e.g., `112 BPM, F major` (easy to cut visually every 2 or 4 beats).
2. **Three restrained instruments:** e.g., `muted felt piano, soft upright bass pulse, brushed snare`.
3. **Energy arc across 58 seconds:** Sparse 8-second intro under the opening hook, steady mid-section groove, and a clean sustained chord resolve at `0:55` (never an abrupt cut).
4. **`force_instrumental: true`:** Explicitly disables vocals at the API parameter level.

## Step 2: Generate once (`58,000 ms` = `$0.60`) and convert to 48 kHz WAV

Run the copyable script above to call `fal-ai/elevenlabs/music` with `music_length_ms: 58000` and `force_instrumental: true`. Because fal.ai bills `$0.60` per minute rounded up, that single `$0.60` file gives you enough musical structure to cut a 30-second hero spot, a 15-second vertical cutdown, and a 6-second social bumper with identical sonic branding.

Immediately convert `music_raw.mp3` to uncompressed **`48 kHz` stereo PCM WAV** (`music_ME_48k.wav`) and save it beside your project files—this becomes your permanent dialogue-free **M&E (Music & Effects) stem** for future translations or seasonal price updates.

## Step 3: Carve the 2 kHz voice pocket and apply smooth sidechain ducking

Step 3 in `score-and-duck-commercial.sh` executes a tested FFmpeg audio graph that pairs your dry voiceover stem (generated via [Kokoro-82M](/specs/kokoro-82m) at `$0.00` local or [ElevenLabs TTS](/specs/elevenlabs-tts)) with `music_ME_48k.wav`:
- **Voice track (`[0:a]`):** High-passes rumble below `80 Hz` and splits cleanly into the mix bus and sidechain key signal.
- **Music bed (`[1:a]`):** Cuts `-3 dB` at `2,000 Hz` (`Q = 1.2`) to open an instant vocal clarity pocket, drops nominal volume `-10 dB`, and ducks smoothly via `sidechaincompress` (`attack=50ms`, `release=350ms`) whenever narration is active.
- **Master bus:** Conforms the combined stereo track to **`-14.0 LUFS` integrated** and **`-1.0 dBTP` true peak** at `48 kHz`.

## Step 4: Accent hero cuts with ElevenLabs SFX v2

For product reveals or logo stings, layer 2–3 short tactile sound effects from [ElevenLabs Sound Effects v2](/specs/elevenlabs-sfx) (`-18 LUFS` target peaks) directly onto your M&E stem so every visual cut lands with physical weight.

## Copyable Asset: ElevenLabs Music API Call + FFmpeg 2 kHz Carve & Sidechain Duck Script (score-and-duck-commercial.sh)

```bash
#!/usr/bin/env bash
set -euo pipefail
# Step 1: Generate a 58s cleared instrumental underscore ($0.60 on fal.ai)
# Usage: FAL_KEY="your_key" ./score-and-duck-commercial.sh voiceover_48k.wav
VO_WAV="${1:?Pass 48 kHz voiceover WAV path}"
PROMPT="${MUSIC_PROMPT:-Warm minimalist editorial acoustic underscore, 112 BPM, F major, muted felt piano, soft upright bass pulse, brushed snare groove; calm 8s intro, steady mid groove, crisp sustained piano chord resolve at 0:55. Strictly instrumental, zero vocals.}"

RESP=$(curl -sS -X POST "https://fal.run/fal-ai/elevenlabs/music" \
  -H "Authorization: Key ${FAL_KEY:?Set FAL_KEY}" \
  -H "Content-Type: application/json" \
  -d "{\"prompt\":$(node -e 'console.log(JSON.stringify(process.argv[1]))' "$PROMPT"),\"music_length_ms\":58000,\"force_instrumental\":true}")

AUDIO_URL=$(node -e 'const d = JSON.parse(process.argv[1]); console.log(d.audio?.url || "");' "$RESP")
if [ -z "$AUDIO_URL" ]; then echo "Music gen failed: $RESP" >&2; exit 1; fi
curl -fsSL "$AUDIO_URL" -o music_raw.mp3

# Step 2: Conform 44.1 kHz MP3 -> 48 kHz WAV & archive clean M&E stem
ffmpeg -y -i music_raw.mp3 -ar 48000 -ac 2 -c:a pcm_s16le music_ME_48k.wav

# Step 3: Carve -3 dB @ 2 kHz voice pocket, sidechain duck under VO, master to -14 LUFS
ffmpeg -y -i "$VO_WAV" -i music_ME_48k.wav \
  -filter_complex "\
    [0:a]highpass=f=80,aresample=48000,asplit=2[vo_mix][vo_sc]; \
    [1:a]equalizer=f=2000:t=q:w=1.2:g=-3,volume=-10dB[bed_eq]; \
    [bed_eq][vo_sc]sidechaincompress=threshold=0.03:ratio=4:attack=50:release=350[bed_duck]; \
    [vo_mix][bed_duck]amix=inputs=2:duration=first:dropout_transition=2,loudnorm=I=-14:TP=-1.0:LRA=11[out]" \
  -map "[out]" -c:a pcm_s16le -ar 48000 -ac 2 commercial_master_mix_48k.wav
echo "Ready: commercial_master_mix_48k.wav + music_ME_48k.wav"
```

## FAQ

### Why request 58,000 ms instead of 30,000 ms on ElevenLabs Music API?

ElevenLabs Music on fal.ai bills $0.60 per output minute rounded up to the nearest minute. A 30-second track and a 58-second track cost the exact same $0.60—generating 58 seconds lets you cut a 30s ad, 15s Reel, and 6s logo bumper from one cohesive track.

### Why carve -3 dB at 2,000 Hz out of the music bed?

Human speech intelligibility (consonants like T, K, S, and P) lives between 1.2 kHz and 3.5 kHz. Gently dipping that band on the instrumental track lets you keep warm bass and musical energy audible while voiceover stays crystal clear.

### Can I run this same FFmpeg ducking pipeline with a Suno v6 Pro WAV?

Yes. Skip Step 1, drop your paid-tier Suno v6 Pro WAV straight in as music_ME_48k.wav, and run Steps 2 and 3 identically—just never use Free-tier Suno audio on commercial client work.
