2026-10-26 22:51:25 +01:00
|
|
|
# MIDI and events
|
|
|
|
|
|
2026-10-27 00:53:41 +01:00
|
|
|
`model.c` implements bounded MIDI clips and stable source-relative notes through
|
|
|
|
|
`xtc_midi.h`. `instrument.c` prepares timeline spans and renders the sine
|
|
|
|
|
instrument with sample-offset live events, note-off and panic handling.
|
|
|
|
|
Preparation/destruction are control-thread operations; render/runtime state has
|
|
|
|
|
one audio owner. See [MIDI workflow, ownership and limits](../../docs/MIDI.md).
|