@muffintop you don't *have* to create a devices/name.lua file for the app if u don't want to - tho it probably makes sense in the long run.
it just means you can't use stuff like send("myapp", "some-action", 127) but you can still use send_midi() or send_midi_raw()
send_midi(device, channel, type, value, velocity)
e.g:
send_midi("myapp", 1, MIDI_NOTE_ON, 64, 127)
'type' can be any of MIDI_NOTE_ON, MIDI_NOTE_OFF, MIDI_CC or MIDI_PC
if you want to send anything else then u have to use send_midi_raw() that just takes the device name and list of raw midi data (can be any length)
e.g:
send_midi_raw("scs3d", 240, 0, 1, 96, 1, 0, 247)
numbers can be in decimal or hex like 0x20
using the devices/ files means we can keep all the nasty actual midi implementation out of other user files tho...
Bookmarks