Simple midi - IN, OUT '& THRU demonstrated and Midi FAQ | CodeGuru

Simple midi – IN, OUT ‘& THRU demonstrated and Midi FAQ

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 […]

Written By
CodeGuru Staff
CodeGuru Staff
Jan 30, 2004
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

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.

screen-shot

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)

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.