MIDIMON: Monitors, Records, and Displays Incoming MIDI Information
MIDIMON is a Microsoft(R) Windows(TM) multimedia application that monitors, records, and displays incoming musical instrument digital interface (MIDI) information.
MIDIMON uses a low-level callback function to get time-stamped MIDI input. The callback function puts the incoming MIDI event information (source device, time stamp, and raw MIDI data) in a circular input buffer and notifies the application by posting a MM_MIDIINPUT message. When the application processes the MM_MIDIINPUT message, it removes the MIDI event from the input buffer and puts it in a display buffer. The information in the display buffer is converted to text and displayed in a scrollable window. The user may choose to send incoming MIDI data to the MIDI Mapper. The display buffer supports filtering; the Mapper does not.
MIDIMON requires a MIDI board hooked up to your computer. The application window provides the following menus:
> File: The Exit command stops the program. The About command displays copyright information.
> Setup: The Send to MIDI Mapper command directs notes to the MIDI Mapper. The Save Setup command saves the current location and size of the display window in the MIDIMON.INI file.
> Filter: You can set commands on or off for different channels or events.
> Start/Stop: Toggles recording on or off.
> Clear: Resets the display buffer, recalibrates the scroll bars, and updates the display.
To start MIDIMON, press a note on your MIDI device. The client area displays:
Timestamp Status Data1 Data2 Chan Event
> When you play a note on the MIDI device, MIDIMON assigns the note a time stamp in hexadecimal notation.
> Status identifies the channel at the end of the number.
> Data1 is the note or key number on a piano keyboard.
> Data2 is either 40 for on or 00 for off.
> Chan is the channel on which the note came in. Channel numbers start at zero and reflect the number of channels your MIDI device supports.
> Event describes what happened, for example, Note On or Note Off. For a list of event names, see the Filter Events command. When you change the channel, you get two messages--one for the previous channel and one for the new channel. The Event is Pitch Bend and the Status is Ex where x is the channel.
MIDIMON was built and tested under Microsoft Windows version 3.1.
{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the midimon project." /C"samples}