ut-proj / undermidi

An Erlang/LFE MIDI soft real time server for live play of MIDI devices
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

Define LFE/Erlang wrapper API #53

Closed oubiwann closed 1 month ago

oubiwann commented 2 months ago

For examples of how the NIF is used in gen_servers:

For low-level APIs:

For high-level APIs:

oubiwann commented 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:

oubiwann commented 1 month ago

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.