home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Sensations!
/
sound_sensations.iso
/
midifile
/
midily
/
midilyzr.doc
next >
Wrap
Text File
|
1989-08-30
|
2KB
|
41 lines
This Public Domain Turbo Pascal 5.5 program (source included) allows
the user to analyze midi data being received on an MPU-401 or equivalent.
The program places the MPU-401 in UART mode and displays incoming data in
numeric form followed by a descriptive message about each incoming byte's
function. It operates using Interrupts and therefore shouldn't lose any
data. It has been tested using most MIDI controllers as well as SYS EX
messages.
The program initializes and then displays the opening screen and data window.
Midi information should appear as soon as it is received. A sample screen
might be:
Midi Line Analyzer -- Version 1.0
Press ESC to Exit.
Receiving Midi Data .....
__________________________________________________________________________
(90)=Note On, Chan. 1, (53)=MidiNote #, Note is F 3, (75)=Note Velocity
(90)=Note On, Chan. 1, (53)=MidiNote #, Note is F 3, (0)=Note Velocity
--
The First byte of the Midi Message (90) is in hex, the one or two subsequent
bytes are in decimal. If a SYS EX Dump is taking place all data bytes will
be in hex.
A midi message can be one, two or three bytes in length and will display
on only one line. However SYS EX dumps which will take up as many lines as
required to fit the data on the screen.
If data becomes garbled because of mutilated data (or a program bug) the
above format will be altered and each line may contain many messages.
Hopefully this will not occur.
If the program locks (you can't ESCape) it may be a result of a hung MPU-401.
Try running the included program MPURESET and then rerun this program. If
this doesn't fix it then you may have a hardware problem with the MPU.
John Sloan
AlphaOmega Computer Services
CIS 71310,2267