change_tempo
Modify the tempo in a MuseScore file by setting the BPM and beat unit. Replaces all existing tempo markings with the new value.
Instructions
Change the tempo by modifying MusicXML and elements.
Replaces all existing tempo markings in the score.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz". bpm: New tempo in beats per minute (1–400). beat_unit: Beat unit for the metronome marking: quarter, half, eighth, whole.
Returns: Modified MusicXML as a UTF-8 string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes | ||
| bpm | Yes | ||
| beat_unit | No | quarter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |