reaper_analyze_project
Renders the project master mix, measures loudness and balance metrics, then optionally sends audio and measurements to Gemini for grounded feedback.
Instructions
One-call mix check: quick-export the master mix, then analyze it.
This is the convenient path — no need to pre-configure the render dialog or pass a file. It tells Reaper to render the master mix to a temp file (reusing your project's render codec, e.g. WAV), measures it with local DSP (LUFS, peak, crest, per-band balance, stereo width), then — unless include_ai=false — uploads a small compressed proxy plus those measurements to Gemini for grounded feedback.
Requires the optional deps (pip install -e .[analyze]) and GEMINI_API_KEY for the
AI layer. For best results set the project's render source to 'Master mix' and format
to a single audio file. Writes a temp render but does not modify the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Optional free-text note on what to focus on, passed to Gemini (e.g. 'the vocal sounds buried', 'too boomy on small speakers'). | |
| reference_path | No | Optional path to a reference/commercial track to compare against. | |
| bounds | No | Render the whole 'project' or just the current 'time_selection'. | project |
| include_ai | No | If true, send a small audio proxy + metrics to Gemini for written feedback. If false, return only the measured DSP metrics (no API call). | |
| model | No | Gemini model that listens to the mix: 'gemini-2.5-flash' (fast/cheap) or 'gemini-2.5-pro' (deeper analysis). | gemini-2.5-flash |
| response_format | No | 'markdown' for human-readable output or 'json' for machine-readable | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |