read_passage
Read notes, rests, and other elements within a specified measure range in the live score. Provide start and end measures, and optionally a staff, to retrieve the content at the cursor for analysis or editing.
Instructions
Read the content of a range of measures in the live score.
Returns what is at the cursor in each measure: notes, rests and other elements. MuseScore gives full note content; Dorico only reports its application status (see the warning in the result).
Args: start_measure: First measure to read (1-indexed). end_measure: Last measure to read (inclusive, 1-indexed). staff: Staff to read (0-indexed). Omit to read the current staff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staff | No | ||
| end_measure | Yes | ||
| start_measure | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |