luamacros
luamacros copied to clipboard
MIDI Support - Volunteering to help
I have a number of Behringer USB devices that I'd really like to be able to use in X-Plane and in general gaming. Lots of sliders and knobs & buttons, you know the type of thing.
Anyway, I don't know Lua or Delphi (yet), though I took Pascal classes many years ago. Regardless of the steepness of the learning curve, I'd like to volunteer to start adding / porting MIDI support.
If you have any guidelines on where to start digging, please let me know. I'd love to collaborate.
Thanks for the offer. You could start with some "Hello world" application in Lazarus reading your midi device. It can just print a key number once you press it. I used some midi libraries in HidMacros - but it was Delphi (not Lazarus, but still pascal) and maybe there's something better now (and for Lazarus). This is the HidMacros code: https://github.com/me2d13/hidmacros/blob/master/Delphi32b/uMidiDevices.pas Anyway once you're able to read the midi device, we can plug your code into LuaMacros.
Oh, my. That's fairly different to the Turbo Pascal I learned 20 years ago. Here goes, though...
Memo to self: http://breakoutbox.de/midi/midi.html
Luamacros has serial support, Why don't we fast-track this for a bit https://projectgus.github.io/hairless-midiserial/
I wonder what this application can provide for this case