What are the options for Midi + Nerves?

In addition to the other options, there’s the Sonic Pi MIDI library at GitHub - sonic-pi-net/sp_midi: MIDI functionality for Sonic Pi for use as Erlang module · GitHub. It looks self-contained and lightweight, but would need a little modification to build with mix and be easier to use with an Elixir/Nerves project.