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

Create a high-level API that uses midilib's `midibin`for writing directly to MIDI devices #57

Closed oubiwann closed 2 months ago

oubiwann commented 2 months ago

This code will ultimately be called by what is created in:

However, that code will mostly be contributing device and channel for use in these calls; as such, design work can continue in parallel with that work.

This new high-level API will need to:

As a high-level API, we'll want to provide more than just a direct, 1:1 mapping to the low-level midimsg:* and midibin:* functions. And we won't want to pass data structures -- we'll want to pass args, as appropriate per function. These two requirements complicate the implementation somewhat.

Tasks:

oubiwann commented 2 months ago

For the last bullet, I'm experimenting with apply in undermidi.device.conn ...