MIDI input

Blitz3D Forums/Blitz3D Beginners Area/MIDI input

Does anyone know how to get input from MIDI devices? I'd like to use a MIDI keyboard to control my Blitz3D project.

this might help you on your way.

Thanks for the link, but that only appears to be about playing MIDI files, not input from MIDI devices. Anyway, I'm hoping someone can help with information specifically about working with MIDI in Blitz. I've already found lots of information about using MIDI in general (although not all of it good I suppose.)

DLL, maybe?

It would have to be DLL based, but I'm pretty sure you could do it with the win32 MCI stuff

From this old thread it looks like one can use winmm.dll, which comes with Windows, by creating a winmm.decls for the userlibs directory:
http://www.blitzbasic.com/Community/posts.php?topic=40090

But, does anyone know how to use winmm for MIDI input? Functioning BB code ideally.