MIDI - Musical Instrument Digital Interface

Roland MPU-401
Roland Sound Canvas (General MIDI)
Supported by SB-16 and other cards

Official documentation is sold by: MIDI Manufacturer's Association

OSS MIDI documentation: http://www.opensound.com/pguide/mid.html

MIDI interface is designed for transfering data between several musical instruments (including computer).

A computer can store MIDI data as .mid or .rmi file.

16 channels and up to 128 musical instruments, 128 drums


000 - grand accoustic piano
001 - bright piano
.....
013 - xylophone
.....
025 - accoustic guitar
.....
040 - violin
......
064 - soprano saxophone
.....
105 - banjo
.....
126 - applause
127 - gunshot

MIDI interface consists of messages as:

Voice messages:

Status byte:
7 - always 1 to indicate status
6,5,4 functions
3 - 0 channels (0 to 15)

Functions:

Example:

147 50 64 50 0 195 4 157 55 64 55 0

Note on chan 3 (147 = 10010011)

195 - 11000011 157 - 10011101 - note on chan 13

Real-time messages (for synchronising instruments).

System Exclusive:

Contains MIDI ID that identifies the manufacturer ( 65-Roland, 66-Yamaha, 67-Casio) and other information specific to the device.

Meta events (for MIDI files only).

Midi file:

Back Next