Mac OS X Bmax Midi Input?

BlitzMax Forums/BlitzMax Programming/Mac OS X Bmax Midi Input?

Is it possible (and if yes, how) to recieve data from a MIDI-device like a master keyboard in BMX? Anyone coded something like this already?