change_time_signature
Modify the time signature of a MuseScore file by specifying beats per measure and beat type. Adjusts MusicXML elements without altering notes or beaming.
Instructions
Change the time signature by modifying MusicXML elements.
Note: only the time signature element is changed — notes and beaming are not automatically adjusted.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz". beats: Beats per measure (e.g. 3 for 3/4). beat_type: Note value of one beat (1, 2, 4, 8, 16, or 32).
Returns: Modified MusicXML as a UTF-8 string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes | ||
| beats | Yes | ||
| beat_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |