mcp_opendaw_auto_gain
Automatically adjusts output volume to achieve a target loudness level (LUFS) by iteratively rendering, measuring, and adjusting the Maximizer threshold until within ±1 LUFS of the target.
Instructions
Auto-adjust output volume to hit a target LUFS.
Iterative loop: render → measure LUFS → adjust Maximizer threshold → re-render. Converges within ±1 LUFS of target.
target_lufs: Target loudness (Spotify -14, YouTube -14, Apple -16). filename: Output filename (without .wav). sample_rate: Export sample rate (default 48000). max_iterations: Max refinement loops (default 3).
Returns final LUFS, threshold applied, iterations, and WAV path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | auto_gain_mix | |
| sample_rate | No | ||
| target_lufs | Yes | ||
| max_iterations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |