03-22-2006 11:37 PM
03-23-2006 09:28 AM
03-27-2006 01:04 PM
05-24-2006 10:23 AM
05-24-2006 12:45 PM
05-24-2006 01:33 PM
You are misunderstanding Jamie's request. The scoop here is how to capture incoming MIDI messages and, based on their contents, perform a given task. Jamie wants to have his VI display the graphics of a waveform associated with a specific Note On message. However, if he would prefer doing so, he could choose to display a hippo or a picture of his mum on the event of receiving a given Note On message, say C4. I myself is trying to decode the MIDI stream and based upon what Note On/Off I get, turn a lamp on/off. That is, I am building a MIDI controlled lighting mixer.
The procedure to get MIDI in is already included in the WIN32 API and well described here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_midiinopen.asp
There is additional info by Jeff Glatt here. It gives som good examples for incorporating the required calls from C:
http://www.borg.com/~jglatt/tech/lowmidi.htm