MusicXML Synthesizer
v0.3.0Synthesizes audio from MusicXML, with voice-part selection and tempo control
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_parts List voice parts
List all voice parts available in a MusicXML score
| Parameter | Type | Description |
|---|---|---|
musicxml | string | MusicXML document as a string. Give this or 'musicxml_path', not both. |
musicxml_path | string | Path to the score as a .musicxml, .xml or .mxl file, such as a path another tool returned. Preferred over 'musicxml': the score is not copied into the conversation. Give this or 'musicxml', not both. |
synthesize Play voice parts
Synthesize audio from a MusicXML score. Optionally select specific voice parts and adjust the tempo.
| Parameter | Type | Description |
|---|---|---|
count_in_bars | integer | Bars of wood-block clicks before the music, in its first time signature and tempo. Default: 0. |
focus_part | string | The part (ID, name or voice) a 'learning' or 'karaoke' preset is for; required by those presets. |
measures | array | Inclusive [start, end] range of printed measure numbers, e.g. [17, 24]. A pickup bar is 0. |
metronome | boolean | Click on every beat of the music too. Default: false. |
musicxml | string | MusicXML document as a string. Give this or 'musicxml_path', not both. |
musicxml_path | string | Path to the score as a .musicxml, .xml or .mxl file, such as a path another tool returned. Preferred over 'musicxml': the score is not copied into the conversation. Give this or 'musicxml', not both. |
output_path | string | Path to write WAV file (auto-generated if omitted) |
part_gains | object | Per-part volume: part ID, name or voice → gain 0.0 (silent) to 2.0, 1.0 = normal. Parts not listed get 1.0, or the preset's gain. Example: {"Alto": 1.5}. |
part_ids | array | (Deprecated: use `parts`) Parts to include. |
parts | array | Parts to include, each a part ID, name or voice (e.g. 'P1', 'Soprano', 'S'). Default: all parts. |
preset | string | Base gains: 'learning' = focus_part loud (1.5), others soft (0.5); 'karaoke' = focus_part muted, others normal; 'equal' = all 1.0. part_gains entries override it. |
repeat | integer | Play the (selected) music this many times. Default: 1. |
tempo_factor | number | Tempo multiplier: 1.0 = score tempo, 0.75 = 75% speed. Valid range: 0.25–4.0. Default: 1.0 |
timbre | string | Sound for every part: 'score' keeps the score's instruments (default); 'piano', 'choir' or 'organ' replace them. |
starting_pitches Play starting pitches
Give each part's first note, as text ('S: D5, A: A4, T: F#4, B: D3') and as a short piano clip: each note for 1 s, then the chord for 2 s. The clip is inline audio when small, else a file link; without a soundfont the text comes alone.
| Parameter | Type | Description |
|---|---|---|
musicxml | string | MusicXML document as a string. Give this or 'musicxml_path', not both. |
musicxml_path | string | Path to the score as a .musicxml, .xml or .mxl file, such as a path another tool returned. Preferred over 'musicxml': the score is not copied into the conversation. Give this or 'musicxml', not both. |
output_path | string | Path to write the WAV clip (default: audio/starting-pitches-<timestamp>.wav in the output folder) |
parts | array | Parts to include, each a part ID, name or voice (e.g. 'P1', 'Soprano', 'S'). Default: all parts. |
list_capabilities Synth capabilities
List supported formats and available tools for this synthesis server
health_check Synth health check
Check whether all runtime dependencies are available and correctly configured. Returns a human-readable status summary. Call this first to verify the server is ready before attempting synthesis.
describe_score Describe score
Summarize a score cheaply, without music21 or rendering: title, composer, key, time signature, tempo, parts (ID, name, abbreviation, clef, sounding range), number of measures, whether it has lyrics, and duration in quarter notes and seconds. Returns small JSON and does not return the score itself, so call it first to learn the part IDs and size of a score. Pass musicxml_path (preferred) or musicxml.
| Parameter | Type | Description |
|---|---|---|
musicxml | string | MusicXML text of the score. Give this or 'musicxml_path', not both. |
musicxml_path | string | Path to the score as a .musicxml, .xml or .mxl file, such as a path another tool returned. Preferred over 'musicxml': the score is not copied into the conversation. Give this or 'musicxml', not both. |