Closed oubiwann closed 1 month ago
With the use of Sonic Pi's MIDI Erlang NIF, we no longer need to run a process that communicates with the OS' MIDI system. That server completely goes away.
We're also going to do a pretty significant refactor of the undermidi API to a few things:
For this new design (and to a certain extent, architecture) in undermidi, see the dedicated ticket:
We're creating the API as we go, and have found a good approach for now. Going to close this. Will create a new ticket if the current approach ends up needing a re-think.
For examples of how the NIF is used in gen_servers:
For low-level APIs:
sp-midi
toms.nif
For high-level APIs:
send
functions or thebatch
functions