export_midi
Convert a RON score to a Standard MIDI File for use in DAWs or notation tools. Handles tempo, time signature, and map instruments to General MIDI programs.
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.
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). |