add_live_note
Insert a note at the start of a measure in a live score, specifying pitch, duration, and staff. Consecutive calls append notes sequentially.
Instructions
Add a note at the start of a measure in the live score.
Consecutive calls on the same measure append notes one after another, since the application advances its cursor after each note.
Args: measure: Measure number (1-indexed). pitch: MIDI pitch (60 = middle C). numerator: Duration numerator (default 1, with denominator 4 = quarter note). denominator: Duration denominator (default 4). staff: Staff index (0-indexed, default: 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | Yes | ||
| staff | No | ||
| measure | Yes | ||
| numerator | No | ||
| denominator | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |