transpose_passage
Transpose notes in a selected measure range and staff by a set number of semitones. Uses conventional spelling (e.g., C to Db) while leaving key signatures and chord symbols unchanged.
Instructions
Transpose the notes of a passage by a number of semitones in the live score.
Notes are moved with conventional spelling (a minor second up turns C into Db). Key signatures and chord symbols in the passage are left unchanged.
Args: start_measure: First measure (1-indexed). end_measure: Last measure (inclusive, 1-indexed). staff: Staff index (0-indexed). semitones: Semitones to transpose (positive = up, negative = down).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staff | Yes | ||
| semitones | Yes | ||
| end_measure | Yes | ||
| start_measure | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |