export_midi
Convert a cochlea RON score into a Standard MIDI File, preserving timing and tempo, for export to DAWs or notation tools.
Instructions
Convert a cochlea RON score into a Standard MIDI File (format 1) — the inverse of import_midi. Timing exports exactly (score ticks become SMF ticks, the tempo map and time signature carry over); instruments become rough General MIDI program labels, since a synth preset isn't a GM instrument. Use this to hand a composed score to a DAW or notation tool, or to round-trip through external MIDI editing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"score_path": "<score_path>",
"out_path": "<out_path>"
},
"name": "export_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_path | Yes | Where to write the Standard MIDI File (.mid). | |
| score_path | Yes | Path to a RON score file (data form version 1). |