Analyze Sections
analyze_sectionsAnalyze loudness by song section—RMS, peak, dynamic range—to flag builds that rival the climax and quiet sections that disappear; with stems, identify each section's loudest parts.
Instructions
Loudness per section: rms, peak, loudest and quietest 400 ms, and the song's dynamic range. sections =
{"intro": [1, 4], "climax": [25, 28], ...} (bars inclusive); omitted = blocks of block bars. Flags the
section right before the loudest when it is 2 dB or more quieter on average but peaks within 3 dB of it (a build
as loud as its climax: the climax will not arrive, and this only showed up here) and sections so quiet they vanish at normal volume.
A relative path is looked up in the working directory first, then in the project. With stems (the render's,
from render(stems=True), or the reference's after separate) a last block names the loudest one or two parts
per section and their rms against the mix's: for a render, the tracks routed to the master and each bus (a
track on a bus counts inside it), so a part straight to master that carries a build the bus pulled down shows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ||
| source | No | render | |
| project | Yes | ||
| sections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |