mcp_opendaw_analyze_song_structure
Segment MIDI content bar-by-bar, compute per-bar features, and classify segments into intro, verse, chorus, bridge, outro, or breakdown to understand song structure and plan variations.
Instructions
Analyze song structure by segmenting MIDI content into structural parts.
Scans all note tracks bar-by-bar, computes per-bar features (note density, pitch range, average velocity, active track count), groups consecutive bars into segments, and classifies each segment as intro/verse/chorus/bridge/ outro/breakdown based on density and energy patterns.
Essential for: understanding existing arrangements, finding where sections change, verifying song form, and planning variations or extensions.
unit_index: AU index (-1 = all AUs). bars_per_segment: Minimum bars per structural segment (default 4). Groups of bars with similar density are merged into segments of at least this length.
Returns per-segment classification with bar range, density, energy, and feature summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | No | ||
| bars_per_segment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |