Multiple possibilities: https://hellosystem.github.io/docs/developer/midi.html https://man.openbsd.org/midi.4 https://sndio.org/