piano_roll_read_notes
Read piano roll notes without modifying them. Use offset and limit to page through patterns, optionally filtering selected notes, while keeping the project read-only.
Instructions
Open a score and read notes without changing notes or enabling musical writes.
Requires the existing one-time piano_roll_bridge setup. Follow next_offset
to page; selected_only may return an empty page with a non-null next_offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Raw note indices per page. | |
| offset | No | Raw score note offset. | |
| channel_index | Yes | Global Channel Rack target index. | |
| selected_only | No | Filter selected notes within this raw page. | |
| pattern_number | Yes | Pattern to inspect. | |
| session_fingerprint | No | Optional expected bridge session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ppq | No | ||
| limit | Yes | ||
| notes | No | ||
| offset | Yes | ||
| source | No | fl_piano_roll_script_runtime | |
| status | Yes | ||
| target | Yes | ||
| trigger | Yes | ||
| warnings | No | ||
| request_id | Yes | ||
| next_offset | No | ||
| observed_at | Yes | ||
| channel_index | Yes | ||
| project_saved | No | ||
| selected_only | Yes | ||
| notes_modified | No | ||
| pattern_number | Yes | ||
| schema_version | No | 1.0 | |
| total_note_count | No |