Author: Stefaan Casier
Simple midi – IN, OUT & THRU demonstrated
This sample project by Stefaan Casier demonstrates some of the simpler MIDI programming techniques used in his excellent MIDI programming article here on CodeGuru. This time around, the simple concepts are explained, along with a MIDI programming FAQ for Visual Basic. The program shows how to play certain notes using the MIDI interface and analyse notes coming into the computer also.
PROJECT NAME midi.vbp PURPOSE Based on the reactions on my BulkDump project, there seems to be much demand for a simple midi project that demonstrates the basics. The BulkDump project was maybe to large to dig into. This one is small and easier. ENVIRONMENT This is a VB5 project, which will run under Windows 9x. No other than basic VB-controls are used. YOU CAN LEARN How to send notes to the midi OUT-port How to make a midi THRU connection How to read & analyse incoming messages from a midi keyboard ... COPYRIGHT None. I made the code myself and everybody is free to use it. RUNTIME FILES executable is not included CODE FILES midi.vbp/.vbw frmMidi.frm frmDevCap.frm midi.bas ADDITIONAL FILE faq.htm : questions and answers + midi IN info
Download Zipped Project (10k)
Download Midi Programming FAQ (html format) (10k)