Blitz Toolbox/DLLs/Blitz MIDI

Blitz MIDI by Ziltch

http://www.moondoggieent.com/downloads/midi.zip

About

This package consists of;

WinMM.decls
-----------
This contains the basic windows multimedia API declarations. If you already have a WinMM.Decls just add these functions to your file.

MIDIin.dll
MidiIn.decls
------------
These files give you basic MIDI input.
StartLookingMidiIn%(Device%) This starts looking at the specified MIDI device for messages.
StopLookingMidiIn() This stops the process and is VERY important to do at the end of you program.
LookMidiIn(MidiBankData*) This gets all the MIDI messages since the last time it was called.

The Bank structure is;
1st Word (2 bytes) is the Number of MIDI messages,

Function = word (2 bytes)
Param1/Note = "" ""
Param2/Vel = "" ""
TimeStamp = integer (4 bytes)
10 Bytes per MIDI Message.

MidiLib.bb
----------
Contains some Blitz functions to make things easier.

MidiInTest.bb
MidiOutTest.bb
--------------
Two simple text based programs to show how to read and write MIDI messages.