Analyze Roll
analyze_rollAnalyze any project source as a text piano-roll score, comparing note starts and sustains per pitch and optionally exporting a notes list.
Instructions
Piano roll of any source from the same step features the comparisons score: one row per pitch, one char per 16th ('#' note starts, '=' sustains). low/high limit the pitch range (split bass / chords / lead that share a stem); rel_db = how far under the step's loudest note still counts; floor_db = absolute floor. as_notes=True returns a notes_write list (beats relative to the first bar) instead - write it, then cmp to verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | No | C1 | |
| bars | No | ||
| high | No | C8 | |
| rel_db | No | ||
| source | No | ref:other | |
| project | Yes | ||
| as_notes | No | ||
| floor_db | No | ||
| max_bars | No | ||
| min_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |