MIDI input

Blitz3D Forums/Blitz3D Beginners Area/MIDI input

jhocking(Posted 2004) [#1]
Does anyone know how to get input from MIDI devices? I'd like to use a MIDI keyboard to control my Blitz3D project.


Perturbatio(Posted 2004) [#2]
this might help you on your way.


jhocking(Posted 2004) [#3]
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.)


wizzlefish(Posted 2004) [#4]
DLL, maybe?


Perturbatio(Posted 2004) [#5]
It would have to be DLL based, but I'm pretty sure you could do it with the win32 MCI stuff


jhocking(Posted 2004) [#6]
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.