MIDI Protocol Explained

MIDI Protocol

MIDI PROTOCOL : Part 1 – Overview

If you are a performer, a composer or just someone who want to have fun playing his preferred instrument you should know something about the MIDI Protocol, the standard communication protocol used by thousands of digital instruments, DAWs and musical software. So here is a brief introduction to get started with MIDI protocol.
MIDI stands for Musical Instrument Digital Interface.

How Does MIDI Protocol Work?

There are many different kinds of devices that use the MIDI protocol, from cell phones to music keyboards to personal computers. The one thing all MIDI devices have in common is that they speak the “language” of MIDI commonly referred as MIDI Protocol. This language describes the process of playing music in much the same manner as sheet music: there are MIDI Messages that describe what notes are to be played and for how long, as well as the tempo, which instruments are to be played, and at what relative volumes.

It’s important to understand that MIDI protocol describes only the instructions, like a music score, and not a digital version of a sound recording, it is actually possible to change the performance, whether that means changing just one note played incorrectly, or changing all of them to perform the song in an entirely new key or at a different tempo, or on different instruments.

MIDI data can be transmitted electronically between MIDI-compatible musical instruments, or stored in a Standard MIDI File for later playback. In either case, the resulting performance will depend on how the receiving device interprets the performance instructions, just as it would in the case of a human performer reading sheet music. The ability to fix, change, add, remove, speed up or slow down any part of a musical performance is exactly why MIDI is so valuable for creating, playing and learning about music.

Three Kinds of MIDI

The original Musical Instrument Digital Interface specification defined a physical connector and message format for connecting devices and controlling them in “real time”.

A few years later Standard MIDI Files were developed as a storage format so performance information could be recalled at a later date. The three parts of MIDI are often just referred to as “MIDI “, even though they are distinctly different parts with different characteristics.

The MIDI Messages specification (called also “MIDI Protocol”) is probably the most important part of MIDI. Though originally intended just for use with the MIDI DIN transport as a means to connect two keyboards, MIDI messages are now used inside computers, tablets and cell phones to generate music, and transported over any number of professional and consumer interfaces (USB, FireWire, etc.) to a wide variety of MIDI-equipped devices.

There are also many different Cables & Connectors that are used to transport MIDI data between devices. The “MIDI DIN” transport causes a lot of confusion because it  has specific characteristics which some people associate as characteristics of “MIDI” — forgetting that the MIDI-DIN characteristics go away when using MIDI over other transports (and inside a computer). With computers a High Speed Serial, USB or FireWire connection is more common, many modern digital instruments also have MIDI over USB connection. Each transport has its own performance characteristics which might make some difference in specific applications, but in general the transport is the least important part of MIDI, as long as it allows you to connect all the devices you want use.

The final part of MIDI are the Standard MIDI Files (and variants), which are used to distribute music playable on MIDI players of both the hardware and software variety. All popular computer platforms can play MIDI files (you can easily recognize them by their file extension “.mid”) and there are thousands of web sites offering files for sale or even for free. Anyone can make a MIDI file using commercial (or free) software that is readily available, and many people do, with a wide variety of results. Whether or not you like a specific MIDI file can depend on how well it was created, and how accurately your synthesizer plays the file… not all synthesizers are the same, and unless yours is similar to that of the file composer, what you hear may not be at all what he or she intended.

Even More MIDI

Over the past 20 years MMA member companies have created many extensions and enhancements to MIDI that are designed to address some of the issues mentioned briefly above. General MIDI (GM) and Downloadable Sounds (DLS) help address the issue of predictable playback from MIDI Files. Scalable Polyphony MIDI helped bring MIDI to mobile phones by providing a standard means for scaling playback of complex MIDI files across a variety of low-power handsets.

 

More on MIDI Protocol

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.