HOME

TheInfoList



OR:

Musical Instrument Digital Interface (; MIDI) is an American-Japanese
technical standard A technical standard is an established Social norm, norm or requirement for a repeatable technical task which is applied to a common and repeated use of rules, conditions, guidelines or characteristics for products or related processes and producti ...
that describes a
communication protocol A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any variation of a physical quantity. The protocol defines the rules, syntax, semantics (computer science), sem ...
, digital interface, and
electrical connector Components of an electrical circuit are electrically connected if an electric current can run between them through an electrical conductor. An electrical connector is an electromechanical device used to create an electrical connection between ...
s that connect a wide variety of
electronic musical instrument An electronic musical instrument or electrophone is a musical instrument that produces sound using electronics, electronic circuitry. Such an instrument sounds by outputting an electrical, electronic or digital audio signal that ultimately is ...
s,
computer A computer is a machine that can be Computer programming, programmed to automatically Execution (computing), carry out sequences of arithmetic or logical operations (''computation''). Modern digital electronic computers can perform generic set ...
s, and related audio devices for playing, editing, and recording music. A single MIDI cable can carry up to sixteen channels of MIDI data, each of which can be routed to a separate device. Each interaction with a key, button, knob or slider is converted into a MIDI event, which specifies musical instructions, such as a note's pitch, timing and velocity. One common MIDI application is to play a MIDI
keyboard Keyboard may refer to: Text input * Keyboard, part of a typewriter * Computer keyboard ** Keyboard layout, the software control of computer keyboards and their mapping ** Keyboard technology, computer keyboard hardware and firmware Music * Mus ...
or other controller and use it to trigger a digital
sound module A sound module is an electronic musical instrument without a human-playable interface such as a piano-style musical keyboard. Sound modules have to be operated using an externally connected device, which is often a MIDI controller, of which th ...
(which contains synthesized musical sounds) to generate sounds, which the audience hears produced by a
keyboard amplifier A keyboard amplifier is a powered instrument amplifier, electronic amplifier and loudspeaker in a speaker enclosure, speaker cabinet used for the amplification of electronic keyboard instruments. Keyboard amplifiers are distinct from other type ...
. MIDI data can be transferred via MIDI or
USB Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
cable, or recorded to a sequencer or
digital audio workstation A digital audio workstation (DAW ) is an electronic device or application software used for Sound recording and reproduction, recording, editing and producing audio files. DAWs come in a wide variety of configurations from a single software pr ...
to be edited or played back. MIDI also defines a
file format A file format is a Computer standard, standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary format, pr ...
that stores and exchanges the data. Advantages of MIDI include small
file size File size is a measure of how much data a computer file contains or how much storage space it is allocated. Typically, file size is expressed in units based on byte. A large value is often expressed with a metric prefix (as in megabyte and giga ...
, ease of modification and manipulation and a wide choice of electronic instruments and
synthesizer A synthesizer (also synthesiser or synth) is an electronic musical instrument that generates audio signals. Synthesizers typically create sounds by generating waveforms through methods including subtractive synthesis, additive synthesis a ...
or digitally sampled sounds. A MIDI recording of a performance on a keyboard could sound like a piano or other keyboard instrument; however, since MIDI records the messages and information about their notes and not the specific sounds, this recording could be changed to many other sounds, ranging from synthesized or sampled guitar or flute to full orchestra. Before the development of MIDI, electronic musical instruments from different manufacturers could generally not communicate with each other. This meant that a musician could not, for example, plug a Roland keyboard into a Yamaha synthesizer module. With MIDI, any MIDI-compatible keyboard (or other controller device) can be connected to any other MIDI-compatible sequencer, sound module,
drum machine A drum machine is an electronic musical instrument that creates percussion sounds, drum beats, and patterns. Drum machines may imitate drum kits or other percussion instruments, or produce unique sounds, such as synthesized electronic tones. A d ...
, synthesizer, or computer, even if they are made by different manufacturers. MIDI technology was standardized in 1983 by a panel of music industry representatives and is maintained by the
MIDI Manufacturers Association The MIDI Manufacturers Association (MMA) is a non-profit trade organization where companies work together to create MIDI standards comparison, MIDI standards that assure compatibility among MIDI products. The MMA is a U.S. organization established ...
(MMA). All official MIDI standards are jointly developed and published by the MMA in Los Angeles, and the MIDI Committee of the
Association of Musical Electronics Industry The Association of Musical Electronics Industry (AMEI) is an organization where companies work together to create the standards that assure compatibility among electronic musical instruments, particularly MIDI products. The AMEI is a Japanese organ ...
(AMEI) in Tokyo. In 2016, the MMA established The MIDI Association (TMA) to support a global community of people who work, play, or create with MIDI.


History

In the early 1980s, there was no
standardized Standardization (American English) or standardisation (British English) is the process of implementing and developing technical standards based on the consensus of different parties that include firms, users, interest groups, standards organiza ...
means of synchronizing
electronic musical instrument An electronic musical instrument or electrophone is a musical instrument that produces sound using electronics, electronic circuitry. Such an instrument sounds by outputting an electrical, electronic or digital audio signal that ultimately is ...
s manufactured by different companies. Manufacturers had their own proprietary standards to synchronize instruments, such as
CV/gate CV/gate (an abbreviation of ''control voltage/gate'') is an analog method of controlling synthesizers, drum machines, and similar equipment with external sequencers. The control voltage typically controls pitch and the gate signal controls note ...
,
DIN sync DIN sync, also called Sync24, is a synchronization interface for electronic musical instruments. It was introduced in 1980 by Roland Corporation and has been superseded by MIDI. Definition and history DIN sync was introduced in 1980 by Ro ...
and
Digital Control Bus DCB (Digital Control Bus, Digital Connection Bus or Digital Communication Bus in some sources) was a proprietary data exchange, data interchange interface by Roland Corporation, developed in 1981 and introduced in 1982 in their Roland Juno-60 and R ...
(DCB).
Ikutaro Kakehashi , also known by the nickname Taro, was a Japanese engineer, inventor, and entrepreneur. He founded the musical instrument manufacturers Ace Tone, Roland Corporation and Boss Corporation, and the audiovisual electronics company ATV Corporation. ...
, the president of
Roland Roland (; ; or ''Rotholandus''; or ''Rolando''; died 15 August 778) was a Frankish military leader under Charlemagne who became one of the principal figures in the literary cycle known as the Matter of France. The historical Roland was mil ...
, felt the lack of standardization was limiting the growth of the electronic music industry. In June 1981, he proposed developing a standard to the
Oberheim Electronics Oberheim is an American synthesizer manufacturer founded in 1969 by Tom Oberheim. Beginning in 1975, Oberheim developed some of the first commercially available polyphonic synthesizers and was a prominent synthesizer and drum machine manufacture ...
founder
Tom Oberheim Thomas Elroy Oberheim (born July 7, 1936), known as Tom Oberheim, is an American audio engineer and electronics engineer best known for designing effects processors, analog synthesizers, sequencers, and drum machines. He has been the founder ...
, who had developed his own proprietary interface, the Oberheim Parallel Bus. Kakehashi felt that Oberheim's system was too cumbersome, and spoke to Dave Smith, the president of
Sequential Circuits Sequential is an American synthesizer company founded in 1974 as Sequential Circuits by Dave Smith. In 1978, Sequential released the Prophet-5, the first programmable polyphonic synthesizer, which was widely used in the music industry. In the ...
, about creating a simpler, cheaper alternative. While Smith discussed the concept with American companies, Kakehashi discussed it with Japanese companies Yamaha,
Korg , founded as Keio Electronic Laboratories, is a Japanese multinational corporation that manufactures electronic musical instrument An electronic musical instrument or electrophone is a musical instrument that produces sound using electr ...
and Kawai. Representatives from all companies met to discuss the idea in October. Initially, only Sequential Circuits and the Japanese companies were interested. Using Roland's DCB as a basis, Smith and Sequential Circuits engineer Chet Wood devised a universal interface to allow communication between equipment from different manufacturers. Smith and Wood proposed this standard in a paper, ''Universal Synthesizer Interface,'' at the
Audio Engineering Society The Audio Engineering Society (AES) is a professional body for engineers, scientists, other individuals with an interest or involvement in the professional audio industry. The membership largely comprises engineers developing devices or product ...
show in October 1981. The standard was discussed and modified by representatives of Roland, Yamaha, Korg, Kawai, and Sequential Circuits.Holmes, Thom. ''Electronic and Experimental Music: Pioneers in Technology and Composition''. New York: Routledge, 2003 Kakehashi favored the name Universal Musical Interface (UMI), pronounced ''you-me'', but Smith felt this was "a little corny". However, he liked the use of ''instrument'' instead of ''synthesizer'', and proposed ''Musical Instrument Digital Interface'' (MIDI).
Robert Moog Robert Arthur Moog ( ; May 23, 1934 – August 21, 2005) was an American engineer and electronic music pioneer. He was the founder of the synthesizer manufacturer Moog Music and the inventor of the first commercial synthesizer, the Moog synthe ...
, the president of
Moog Music Moog Music Inc. ( ) is an American synthesizer company based in Asheville, North Carolina. It was founded in 1953 as R. A. Moog Co. by Robert Moog and his father and was renamed Moog Music in 1972. Its early instruments included the Moog sy ...
, announced MIDI in the October 1982 issue of ''
Keyboard Keyboard may refer to: Text input * Keyboard, part of a typewriter * Computer keyboard ** Keyboard layout, the software control of computer keyboards and their mapping ** Keyboard technology, computer keyboard hardware and firmware Music * Mus ...
''.Manning, Peter. ''Electronic and Computer Music''. 1985. Oxford: Oxford University Press, 1994. Print. At the 1983 Winter
NAMM Show The NAMM Show is an annual trade show in the United States organized by the National Association of Music Merchants (NAMM), which describes it as "the industry’s largest stage, uniting the global music, sound and entertainment technology commun ...
, Smith demonstrated a MIDI connection between Prophet 600 and Roland JP-6 synthesizers. The MIDI specification was published in August 1983. The MIDI standard was unveiled by Kakehashi and Smith, who received
Technical Grammy Award The Technical Grammy Award is a Special Merit Grammy Award presented to individuals or companies who have made contributions of outstanding technical significance to the recording field. The award was first presented in 1994 to Dr. Thomas G. St ...
s in 2013 for their work. In 1983, the first instruments were released with MIDI, the Roland Jupiter-6 and the Prophet 600. In 1983, the first MIDI
drum machine A drum machine is an electronic musical instrument that creates percussion sounds, drum beats, and patterns. Drum machines may imitate drum kits or other percussion instruments, or produce unique sounds, such as synthesized electronic tones. A d ...
, the
Roland TR-909 The Roland TR-909 Rhythm Composer, commonly known as the 909, is a drum machine introduced by Roland Corporation in 1983, succeeding the TR-808. It was the first Roland drum machine to use samples for some sounds, and the first with MIDI funct ...
, and the first MIDI sequencer, the Roland MSQ-700, were released. The MIDI Manufacturers Association (MMA) was formed following a meeting of "all interested companies" at the 1984 Summer NAMM Show in Chicago. The MIDI 1.0 Detailed Specification was published at the MMA's second meeting at the 1985 Summer NAMM Show. The standard continued to evolve, adding standardized song files in 1991 (
General MIDI General MIDI (also known as GM or GM 1) is a standardized specification for electronic musical instruments that respond to MIDI messages. GM was developed by the American MIDI Manufacturers Association (MMA) and the Japan MIDI Standards Commi ...
) and adapted to new connection standards such as
USB Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
and
FireWire IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real-time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a number of companies, primarily Sony a ...
. In 2016, the MIDI Association was formed to continue overseeing the standard. In 2017, an abridged version of MIDI 1.0 was published as an international standard
IEC The International Electrotechnical Commission (IEC; ) is an international standards organization that prepares and publishes international standards for all electrical, electronic and related technologies. IEC standards cover a vast range of ...
63035. An initiative to create a 2.0 standard was announced in January 2019. The MIDI 2.0 standard was introduced at the 2020 Winter NAMM Show. The
BBC The British Broadcasting Corporation (BBC) is a British public service broadcaster headquartered at Broadcasting House in London, England. Originally established in 1922 as the British Broadcasting Company, it evolved into its current sta ...
cited MIDI as an early example of
open-source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
technology. Smith believed MIDI could only succeed if every manufacturer adopted it, and so "we had to give it away".


Impact

MIDI's appeal was originally limited to professional musicians and
record producer A record producer or music producer is a music creating project's overall supervisor whose responsibilities can involve a range of creative and technical leadership roles. Typically the job involves hands-on oversight of recording sessions; ensu ...
s who wanted to use electronic instruments in the production of
popular music Popular music is music with wide appeal that is typically distributed to large audiences through the music industry. These forms and styles can be enjoyed and performed by people with little or no musical training.Popular Music. (2015). ''Fun ...
. The standard allowed different instruments to communicate with each other and with computers, and this spurred a rapid expansion of the sales and production of electronic instruments and music software. This interoperability allowed one device to be controlled from another, which reduced the amount of hardware musicians needed. MIDI's introduction coincided with the dawn of the personal computer era and the introduction of samplers and
digital synthesizer A digital synthesizer is a synthesizer that uses digital signal processing (DSP) techniques to make musical sounds, in contrast to older analog synthesizers, which produce music using analog electronics, and samplers, which play back digital rec ...
s. The creative possibilities brought about by MIDI technology are credited for helping revive the music industry in the 1980s. MIDI introduced capabilities that transformed the way many musicians work.
MIDI sequencing A music sequencer (or audio sequencer or simply sequencer) is a device or application software that can record, edit, or play back music, by handling note and performance information in several forms, typically CV/Gate, MIDI, or Open Sound Control ...
makes it possible for a user with no notation skills to build complex arrangements. A musical act with as few as one or two members, each operating multiple MIDI-enabled devices, can deliver a performance similar to that of a larger group of musicians. The expense of hiring outside musicians for a project can be reduced or eliminated, and complex productions can be realized on a system as small as a synthesizer with integrated keyboard and sequencer. MIDI also helped establish
home recording Home recording is the practice of recording sound in a private home instead of a professional recording studio. A studio set up for home recording is called a home studio or project studio. Home recording is widely practiced by voice actors, narra ...
. By performing
preproduction Pre-production is the process of planning some of the elements involved in a film, television show, Play (theatre), play, video game, or other performance, as distinct from Filmmaking, production and post-production. Pre-production ends when th ...
in a home environment, an artist can reduce recording costs by arriving at a recording studio with a partially completed song. In 2022, the ''
Guardian Guardian usually refers to: * Legal guardian, a person with the authority and duty to care for the interests of another * ''The Guardian'', a British daily newspaper (The) Guardian(s) may also refer to: Places * Guardian, West Virginia, Unit ...
'' wrote that MIDI remained as important to music as
USB Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
was to computing, and represented "a crucial value system of cooperation and mutual benefit, one all but thrown out by today's major tech companies in favour of captive markets". In 2005, Smith's MIDI Specification was inducted into the TECnology Hall of Fame, an honor given to "products and innovations that have had an enduring impact on the development of audio technology." As of 2022, Smith's original MIDI design was still in use.


Applications


Instrument control

MIDI was invented so that electronic or digital musical instruments could communicate with each other and so that one instrument can control another. For example, a MIDI-compatible sequencer can trigger beats produced by a drum
sound module A sound module is an electronic musical instrument without a human-playable interface such as a piano-style musical keyboard. Sound modules have to be operated using an externally connected device, which is often a MIDI controller, of which th ...
. Analog synthesizers that have no digital component and were built prior to MIDI's development can be retrofitted with kits that convert MIDI messages into analog control voltages. When a note is played on a MIDI instrument, it generates a digital MIDI message that can be used to trigger a note on another instrument. The capability for remote control allows full-sized instruments to be replaced with smaller sound modules, and allows musicians to combine instruments to achieve a fuller sound, or to create combinations of synthesized instrument sounds, such as acoustic piano and strings.Lau, Paul.
Why Still MIDI?
" Canadian Musician. Norris-Whitney Communications Inc. 2008.
MIDI also enables other instrument parameters (volume, effects, etc.) to be controlled remotely. Synthesizers and samplers contain various tools for shaping an electronic or digital sound.
Filters Filtration is a physical process that separates solid matter and fluid from a mixture. Filter, filtering, filters or filtration may also refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Fil ...
adjust
timbre In music, timbre (), also known as tone color or tone quality (from psychoacoustics), is the perceived sound of a musical note, sound or tone. Timbre distinguishes sounds according to their source, such as choir voices and musical instrument ...
, and envelopes automate the way a sound evolves over time after a note is triggered. The frequency of a filter and the envelope attack (the time it takes for a sound to reach its maximum level), are examples of synthesizer
parameter A parameter (), generally, is any characteristic that can help in defining or classifying a particular system (meaning an event, project, object, situation, etc.). That is, a parameter is an element of a system that is useful, or critical, when ...
s, and can be controlled remotely through MIDI. Effects devices have different parameters, such as delay feedback or reverb time. When a MIDI continuous controller number (CCN) is assigned to one of these parameters, the device responds to any messages it receives that are identified by that number. Controls such as knobs, switches, and pedals can be used to send these messages. A set of adjusted parameters can be saved to a device's internal memory as a ''patch'', and these patches can be remotely selected by MIDI program changes.


Composition

MIDI events can be sequenced with
computer software Software consists of computer programs that instruct the Execution (computing), execution of a computer. Software also includes design documents and specifications. The history of software is closely tied to the development of digital comput ...
, or in specialized hardware
music workstation A music workstation is an electronic musical instrument providing the facilities of: *a sound module, *a music sequencer and *(usually) a musical keyboard. It enables a musician to compose electronic music using just one piece of equipment. Or ...
s. Many
digital audio workstation A digital audio workstation (DAW ) is an electronic device or application software used for Sound recording and reproduction, recording, editing and producing audio files. DAWs come in a wide variety of configurations from a single software pr ...
s (DAWs) are specifically designed to work with MIDI as an integral component. MIDI
piano roll A piano roll is a music storage medium used to operate a player piano, piano player or reproducing piano. Piano rolls, like other music rolls, are continuous rolls of paper with holes punched into them. These perforations represent note contro ...
s have been developed in many DAWs so that the recorded MIDI messages can be easily modified. These tools allow composers to audition and edit their work much more quickly and efficiently than did older solutions, such as
multitrack recording Multitrack recording (MTR), also known as multitracking, is a method of sound recording developed in 1955 that allows for the separate recording of multiple sound sources or of sound sources recorded at different times to create a cohesive who ...
. Compositions can be programmed for MIDI that are impossible for human performers to play. Because a MIDI performance is a sequence of commands that create sound, MIDI recordings can be manipulated in ways that audio recordings cannot. It is possible to change the key, instrumentation or tempo of a MIDI arrangement, and to reorder its individual sections, or even edit individual notes. The ability to compose ideas and quickly hear them played back enables composers to experiment.McCutchan, Ann. ''The Muse That Sings: Composers Speak about the Creative Process''. New York: Oxford University Press, 1999. p. 67-68,72
Algorithmic composition Algorithmic composition is the technique of using algorithms to create music. Algorithms (or, at the very least, formal sets of rules) have been used to compose music for centuries; the procedures used to plot voice-leading in Western counterpo ...
programs provide computer-generated performances that can be used as song ideas or accompaniment. Some composers may take advantage of the standard, portable set of commands and parameters in MIDI 1.0 and
General MIDI General MIDI (also known as GM or GM 1) is a standardized specification for electronic musical instruments that respond to MIDI messages. GM was developed by the American MIDI Manufacturers Association (MMA) and the Japan MIDI Standards Commi ...
(GM) to share musical data files among various electronic instruments. The data composed via the sequenced MIDI recordings can be saved as a ''standard MIDI file'' (SMF), digitally distributed, and reproduced by any computer or electronic instrument that also adheres to the same MIDI, GM, and SMF standards. MIDI data files are much smaller than corresponding recorded audio files.


Use with computers

The
personal computer A personal computer, commonly referred to as PC or computer, is a computer designed for individual use. It is typically used for tasks such as Word processor, word processing, web browser, internet browsing, email, multimedia playback, and PC ...
market stabilized at the same time that MIDI appeared, and computers became a viable option for music production. In 1983 computers started to play a role in mainstream music production. In the years immediately after the 1983 ratification of the MIDI specification, MIDI features were adapted to several early computer platforms. The
Yamaha CX5M Yamaha CX5M is an MSX-system compatible computer that expands upon the normal features expected from these systems with a built-in eight-voice FM synthesizer module, introduced in 1984 by Yamaha Corporation. This FM synth itself has stereo audi ...
introduced MIDI support and
sequencing In genetics and biochemistry, sequencing means to determine the primary structure (sometimes incorrectly called the primary sequence) of an unbranched biopolymer. Sequencing results in a symbolic linear depiction known as a sequence which succ ...
in an
MSX MSX is a standardized home computer architecture, announced by ASCII Corporation on June 16, 1983. It was initially conceived by Microsoft as a product for the Eastern sector, and jointly marketed by Kazuhiko Nishi, the director at ASCII Corpo ...
system in 1984. The spread of MIDI on home computers was largely facilitated by
Roland Corporation is a Japanese multinational manufacturer of electronic musical instruments, electronic equipment, and software. It was founded by Ikutaro Kakehashi in Osaka on 18 April 1972. In 2005, its headquarters relocated to Hamamatsu in Shizuoka Prefect ...
's
MPU-401 The MPU-401, where ''MPU'' stands for MIDI Processing Unit, is an important but now obsolete interface for connecting MIDI-equipped electronic music hardware to personal computers. It was designed by Roland Corporation, which also co-authored the ...
, released in 1984, as the first MIDI-equipped
sound card A sound card (also known as an audio card) is an internal expansion card that provides input and output of audio signals to and from a computer under the control of computer programs. The term ''sound card'' is also applied to external audio ...
, capable of MIDI sound processing and sequencing. After Roland sold MPU
sound chip A sound chip is an integrated circuit (chip) designed to produce audio signals through digital, analog or mixed-mode electronics. Sound chips are typically fabricated on metal–oxide–semiconductor (MOS) mixed-signal chips that process a ...
s to other sound card manufacturers, it established a universal standard MIDI-to-PC interface. The widespread adoption of MIDI led to computer-based MIDI software being developed. Soon after, a number of platforms began supporting MIDI, including the
Apple II Apple II ("apple Roman numerals, two", stylized as Apple ][) is a series of microcomputers manufactured by Apple Computer, Inc. from 1977 to 1993. The Apple II (original), original Apple II model, which gave the series its name, was designed ...
, Macintosh, Commodore 64, Amiga, Acorn Archimedes, and IBM PC compatibles. The 1985
Atari ST Atari ST is a line of personal computers from Atari Corporation and the successor to the company's Atari 8-bit computers, 8-bit computers. The initial model, the Atari 520ST, had limited release in April–June 1985, and was widely available i ...
shipped with MIDI ports as part of the base system. In 2015, Retro Innovations released the first MIDI interface for a
VIC-20 The VIC-20 (known as the VC-20 in Germany and the VIC-1001 in Japan) is an 8-bit entry level home computer that was sold by Commodore International, Commodore Business Machines. The VIC-20 was announced in 1980, roughly three years after Commod ...
, making the computer's four voices available to electronic musicians and retro-computing enthusiasts for the first time. Retro Innovations also makes a MIDI interface cartridge for Tandy Color Computer and
Dragon A dragon is a Magic (supernatural), magical legendary creature that appears in the folklore of multiple cultures worldwide. Beliefs about dragons vary considerably through regions, but European dragon, dragons in Western cultures since the Hi ...
computers. Chiptune musicians also use retro gaming consoles to compose, produce and perform music using MIDI interfaces. Custom interfaces are available for the
Family Computer The Nintendo Entertainment System (NES) is an 8-bit home video game console developed and marketed by Nintendo. It was first released in Japan on 15 July 1983 as the and was later released as the redesigned NES in several test markets in the U ...
/
Nintendo Entertainment System The Nintendo Entertainment System (NES) is an 8-bit home video game console developed and marketed by Nintendo. It was first released in Japan on 15 July 1983 as the and was later released as the redesigned NES in several test markets in the ...
,
Game Boy The is a handheld game console developed by Nintendo, launched in the Japanese home market on April 21, 1989, followed by North America later that year and other territories from 1990 onwards. Following the success of the Game & Watch single-ga ...
,
Game Boy Advance The (GBA) is a 32-bit handheld game console, manufactured by Nintendo, which was released in Japan on March 21, 2001, and to international markets that June. It was later released in mainland China in 2004, under the name iQue Game Boy Advanc ...
and
Sega Mega Drive The Sega Genesis, known as the outside North America, is a 16-bit Fourth generation of video game consoles, fourth generation home video game console developed and sold by Sega. It was Sega's third console and the successor to the Master Sys ...
/
Sega Genesis The Sega Genesis, known as the outside North America, is a 16-bit Fourth generation of video game consoles, fourth generation home video game console developed and sold by Sega. It was Sega's third console and the successor to the Master Sys ...
.


Computer files

A MIDI file is not an audio recording. Rather, it is a set of instructionsfor example, for pitch or tempoand can use a thousand times less disk space than the equivalent recorded audio.Crawford, Walt. "MIDI and Wave: Coping with the Language". ''Online''. Vol. 20, No. 1. Jan/Feb 1996 Due to their tiny filesize, fan-made MIDI arrangements became an attractive way to share music online, before the advent of
broadband internet access In telecommunications, broadband or high speed is the wide- bandwidth data transmission that exploits signals at a wide spread of frequencies or several different simultaneous frequencies, and is used in fast Internet access. The transmission m ...
and multi-gigabyte hard drives. The major drawback to this is the wide variation in quality of users' audio cards, and in the actual audio contained as samples or synthesized sound in the card that the MIDI data only refers to symbolically. Even a sound card that contains high-quality sampled sounds can have inconsistent quality from one sampled instrument to another. Early budget-priced cards, such as the
AdLib Ad Lib, Inc. was a Canadian manufacturer of sound cards and other computer equipment founded by Martin Prevel, a former professor of music and vice-dean of the music department at the Université Laval. The company's best known product, the ''Ad ...
and the
Sound Blaster Sound Blaster is a family of sound cards and audio peripherals designed by Creative Technology, Creative Technology/Creative Labs of Singapore. The first Sound Blaster card was introduced in 1989. Sound Blaster sound cards were the de facto stan ...
and its compatibles, used a stripped-down version of Yamaha's
frequency modulation synthesis Frequency modulation synthesis (or FM synthesis) is a form of Synthesizer#Sound synthesis, sound synthesis whereby the frequency of a waveform is changed by Frequency modulation, modulating its frequency with a modulator. The instantaneous frequen ...
(FM synthesis) technologyWiffen, Paul.
Synth School, Part 3: Digital Synthesis (FM, PD & VPM)
". ''Sound on Sound'' Sep 1997. Print.
played back through low-quality digital-to-analog converters. The low-fidelity reproduction of these ubiquitous cards was often assumed to somehow be a property of MIDI itself. This created a perception of MIDI as low-quality audio, while in reality MIDI itself contains no sound,Battino, David.

'' O'Reilly Digital Media Blog. O'Reilly Media, Inc. 6 October 2005. Web. 22 August 2012
and the quality of its playback depends entirely on the quality of the sound-producing device. The Standard MIDI File (SMF) is a
file format A file format is a Computer standard, standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary format, pr ...
that provides a standardized way for music sequences to be saved, transported, and opened in other systems. The standard was developed and is maintained by the MMA, and usually uses a .mid extension. The compact size of these files led to their widespread use in computers, mobile phone
ringtone A ringtone is the sound made by a telephone to indicate an incoming telephone call. Originally referring to the sound of electromechanical striking of bells or gongs, the term refers to any sound by any device alerting of an incoming call. On p ...
s, webpage authoring and musical greeting cards. These files are intended for universal use and include such information as note values, timing and track names. Lyrics may be included as
metadata Metadata (or metainformation) is "data that provides information about other data", but not the content of the data itself, such as the text of a message or the image itself. There are many distinct types of metadata, including: * Descriptive ...
, and can be displayed by
karaoke is a type of interactive entertainment system usually offered in nightclubs and bars, where people sing along to pre-recorded accompaniment using a microphone. Its musical content is an instrumental rendition of a well-known popular song. I ...
machines. SMFs are created as an export format of software sequencers or hardware workstations. They organize MIDI messages into one or more parallel tracks and time-stamp the events so that they can be played back in sequence. A header contains the arrangement's track count, tempo and an indicator of which of three SMF formats the file uses. A type 0 file contains the entire performance, merged onto a single track, while type 1 files may contain any number of tracks that are performed synchronously. Type 2 files are rarely used and store multiple arrangements, with each arrangement having its own track and intended to be played in sequence.


=RMID files

=
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
bundles SMFs together with Downloadable Sounds (DLS) in a
Resource Interchange File Format Resource Interchange File Format (RIFF) is a generic file container format (digital), container format for storing data in tagged Chunk (information), chunks. It is primarily used for audio and video, though it can be used for arbitrary data. T ...
(RIFF) wrapper, as RMID files with a .rmi extension. RIFF-RMID has been
deprecated Deprecation is the discouragement of use of something human-made, such as a term, feature, design, or practice. Typically something is deprecated because it is claimed to be inferior compared to other options available. Something may be deprec ...
in favor of Extensible Music Files (
XMF XMF (Extensible Music Format) is a tree-based digital container format used to bundle music-oriented content, such as a MIDI file and optionally the sounds it uses, liner notes or other content grouped by language-codes. The first XMF definiti ...
).


=Software

= The main advantage of the personal computer in a MIDI system is that it can serve a number of different purposes, depending on the software that is loaded. Multitasking allows simultaneous operation of programs that may be able to share data with each other.


=Sequencers

= Sequencing software can be used to manipulate recorded MIDI data with standard computer editing features such as
cut, copy and paste Cut, copy, and paste are essential commands of modern human–computer interaction and user interface design. They offer an interprocess communication technique for transferring data through a computer's user interface. The ''cut'' command rem ...
and
drag and drop In computer graphical user interfaces, drag and drop is a pointing device gesture in which the user (computing), user selects a virtual object by "grabbing" it and dragging it to a different location or onto another virtual object. In general, i ...
.
Keyboard shortcut In computing, a keyboard shortcut (also hotkey/hot key or key binding) is a software-based assignment of an action to one or more keys on a computer keyboard. Most Operating system, operating systems and Application software, applications come ...
s can be used to streamline workflow, and, in some systems, editing functions may be invoked by MIDI events. The sequencer can set each channel to play a different sound and gives a graphical overview of the arrangement. A variety of editing tools are made available, including a notation display or
scorewriter A scorewriter, or music notation program is software for creating, editing and printing sheet music. A scorewriter is to music notation what a word processor is to text, in that they typically provide flexible editing and automatic layout, and p ...
that can be used to create printed parts for musicians. Tools such as looping, quantization, randomization, and transposition simplify the arranging process.
Beat Beat, beats, or beating may refer to: Common uses * Assault, inflicting physical harm or unwanted physical contact * Battery (crime), a criminal offense involving unlawful physical contact * Battery (tort), a civil wrong in common law of inte ...
creation is simplified, and
groove Groove or Grooves may refer to: Music * Groove (music) * Groove (drumming) * The Groove (band), an Australian rock/pop band of the 1960s * The Groove (Sirius XM), a US radio station * Groove 101.7FM, a former Perth, Australia, radio station ...
templates can be used to duplicate another track's rhythmic feel. Realistic expression can be added through the manipulation of real-time controllers. Mixing can be performed, and MIDI can be synchronized with recorded audio and video tracks. Work can be saved, and transported between different computers or studios.Desmond, Peter. "ICT in the Secondary Music Curriculum". ''Aspects of Teaching Secondary Music: Perspectives on Practice''. ed. Gary Spruce. New York: RoutledgeFalmer, 2002 Sequencers may take alternate forms, such as drum pattern editors that users can use to create beats by clicking on pattern grids, and loop sequencers such as
ACID Pro Acid Pro (often stylized ACID) is a professional digital audio workstation (DAW) software program currently developed by Magix Software. It was originally called Acid pH1 and published by Sonic Foundry, later by Sony Creative Software as Acid ...
, which combine MIDI with prerecorded audio loops whose tempos and keys are matched to each other. Cue-list sequencing is used to trigger dialogue, sound effect, and music cues in stage and broadcast production.


=Notation software

= With MIDI, notes played on a keyboard can automatically be transcribed to
sheet music Sheet music is a handwritten or printed form of musical notation that uses musical symbols to indicate the pitches, rhythms, or chords of a song or instrumental musical piece. Like its analogs – printed Book, books or Pamphlet, pamphlets ...
. Scorewriting software typically lacks advanced sequencing tools and is optimized for the creation of a neat, professional printout designed for live instrumentalists. These programs provide support for dynamics and expression markings, chord and lyric display, and complex score styles. Software is available that can print scores in
braille Braille ( , ) is a Tactile alphabet, tactile writing system used by blindness, blind or visually impaired people. It can be read either on embossed paper or by using refreshable braille displays that connect to computers and smartphone device ...
. Notation programs include Finale,
Encore An encore is an additional performance given by performers at the conclusion of a show or concert, usually in response to extended applause from the audience.Lalange Cochrane, in ''Oxford Companion to Music'', Alison Latham, ed., Oxford Universi ...
,
Sibelius Jean Sibelius (; ; born Johan Julius Christian Sibelius; 8 December 186520 September 1957) was a Finnish composer of the late Romantic and early modern periods. He is widely regarded as his country's greatest composer, and his music is often ...
,
MuseScore MuseScore Studio (branded as MuseScore before 2024) is a Free and open-source software, free and open-source music notation program for Microsoft Windows, Windows, macOS, and Linux under the Muse Group, which owns the associated online score-s ...
and
Dorico Dorico () is scoring software for macOS, Windows and iPadOS.Cliff, Tony. (1 December 2019)Tech Reviews: Dorico Pro 3 ''Music Teacher Magazine''. Archived 7 June 2021: Wayback Machine. It is one of the three leading professional-level music nota ...
.
SmartScore SmartScore 64 NE is a music OCR and scorewriter program, developed, published and distributed by Musitek Corporation based in Ojai, California. History SmartScore was originally released in 1991 as MIDISCAN for Windows. The product line was la ...
software can produce MIDI files from scanned sheet music.


=Editors and librarians

= Users can program their equipment through the path editor as a computer interface. These became essential with the appearance of complex synthesizers such as the Yamaha FS1R, which contained several thousand programmable parameters, but had an interface that consisted of fifteen tiny buttons, four knobs and a small LCD. Digital instruments typically discourage users from experimentation, due to their lack of the feedback and direct control that switches and knobs would provide, but patch editors give owners of hardware instruments and effects devices the same editing functionality that is available to users of software synthesizers. Some editors are designed for a specific instrument or effects device, while other, ''universal'' editors support a variety of equipment, and ideally can control the parameters of every device in a setup through the use of System Exclusive messages. System Exclusive messages use the MIDI protocol to send information about the synthesizer's parameters. Patch librarians have the specialized function of organizing the sounds in a collection of equipment and exchanging entire banks of sounds between an instrument and a computer. In this way the device's limited patch storage is augmented by a computer's much greater disk capacity. Once transferred to the computer, custom patches can be shared with other owners of the same instrument. Universal editor/librarians that combine the two functions were once common, and included Opcode Systems' Galaxy,
eMagic Emagic GmbH was a music software and hardware company based in Rellingen, Germany and a satellite office in Grass Valley, California. On July 1, 2002 Emagic was bought by Apple Computer. Emagic's Windows-based product offerings were discont ...
's SoundDiver, and MOTU's Unisyn. Although these older programs have been largely abandoned with the trend toward computer-based synthesis using virtual instruments, several editor/librarians remain available, including Coffeeshopped Patch Base, Sound Quest's Midi Quest, and several editors from Sound Tower.
Native Instruments Native Instruments is a German company that develops, manufactures, and supplies music software and hardware for music production, sound design, performance, and DJing. The company's corporate headquarters and main development facilities are lo ...
' Kore was an effort to bring the editor/librarian concept into the age of software instruments, but was abandoned in 2011.


=Auto-accompaniment programs

= Programs that can dynamically generate accompaniment tracks are called ''auto-accompaniment'' programs. These create a full-band arrangement in a style that the user selects and sends the result to a MIDI sound-generating device for playback. The generated tracks can be used as educational or practice tools, as accompaniment for live performances, or as a songwriting aid.


=Synthesis and sampling

= Computers can use software to generate sounds, which are then passed through a
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
(DAC) to a power amplifier and loudspeaker system. The number of sounds that can be played simultaneously (the
polyphony Polyphony ( ) is a type of musical texture consisting of two or more simultaneous lines of independent melody, as opposed to a musical texture with just one voice ( monophony) or a texture with one dominant melodic voice accompanied by chord ...
) is dependent on the power of the computer's
CPU A central processing unit (CPU), also called a central processor, main processor, or just processor, is the primary processor in a given computer. Its electronic circuitry executes instructions of a computer program, such as arithmetic, log ...
, as are the
sample rate In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of "samples". A sample is a value of the signal at a point in time and/or ...
and bit depth of playback, which directly affect the quality of the sound. Synthesizers implemented in software are subject to timing issues that are not necessarily present with hardware instruments, whose dedicated operating systems are not subject to interruption from background tasks as desktop
operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ...
s are. These timing issues can cause synchronization problems, and clicks and pops when sample playback is interrupted. Software synthesizers also may exhibit additional latency in their sound generation. The roots of software synthesis go back as far as the 1950s, when
Max Mathews Max Vernon Mathews (November 13, 1926 – April 21, 2011) was an American pioneer of computer music. Biography Max Vernon Mathews was born in Columbus, Nebraska, to two science schoolteachers. His father in particular taught physics, chemistry ...
of
Bell Labs Nokia Bell Labs, commonly referred to as ''Bell Labs'', is an American industrial research and development company owned by Finnish technology company Nokia. With headquarters located in Murray Hill, New Jersey, Murray Hill, New Jersey, the compa ...
wrote the
MUSIC-N MUSIC-N refers to a family of computer music programs and programming languages descended from or influenced by MUSIC, a program written by Max Mathews in 1957 at Bell Labs. MUSIC was the first computer program for generating digital audio wavefor ...
programming language, which was capable of non-real-time sound generation. Reality, by Dave Smith's Seer Systems was an early synthesizer that ran directly on a host computer's CPU. Reality achieved a low latency through tight driver integration, and therefore could run only on
Creative Labs Creative Technology Ltd., or Creative Labs Pte Ltd., is a Singaporean multinational electronics company mainly dealing with audio technologies and products such as speakers, headphones, sound cards and other digital media. Founded by Sim Wong ...
soundcards. Syntauri Corporation's Alpha Syntauri was another early software-based synthesizer. It ran on the Apple IIe computer and used a combination of software and the computer's hardware to produce additive synthesis. Some systems use dedicated hardware to reduce the load on the host CPU, as with Symbolic Sound Corporation's Kyma System, and the
Creamware Creamware is a cream-coloured refined earthenware with a lead glaze over a pale body, known in France as '' faïence fine'', in the Netherlands as ''Engels porselein'', and in Italy as ''terraglia inglese''.Osborne, 140 It was created about 175 ...
/
Sonic Core Sonic Core is a German developer of digital audio systems, that in 2007 took over some of the assets of Creamware (company), Creamware, and continues to support, manufacture and develop the Scope Digital signal processor, DSP hardware platform and a ...
Pulsar/SCOPE systems, which power an entire recording studio's worth of instruments, effect units, and mixers. The ability to construct full MIDI arrangements entirely in computer software allows a composer to render a finalized result directly as an audio file.


=Game music

= Early PC games were distributed on floppy disks, and the small size of MIDI files made them a viable means of providing soundtracks. Games of the
DOS DOS (, ) is a family of disk-based operating systems for IBM PC compatible computers. The DOS family primarily consists of IBM PC DOS and a rebranded version, Microsoft's MS-DOS, both of which were introduced in 1981. Later compatible syste ...
and early Windows eras typically required compatibility with either
Ad Lib In music and other performing arts, the phrase (; or 'as you desire'), often shortened to "ad lib" (as an adjective or adverb) or "ad-lib" (as a verb or noun), refers to various forms of improvisation. The roughly synonymous phrase ('in acc ...
or
Sound Blaster Sound Blaster is a family of sound cards and audio peripherals designed by Creative Technology, Creative Technology/Creative Labs of Singapore. The first Sound Blaster card was introduced in 1989. Sound Blaster sound cards were the de facto stan ...
audio cards. These cards used
FM synthesis Frequency modulation synthesis (or FM synthesis) is a form of sound synthesis whereby the frequency of a waveform is changed by modulating its frequency with a modulator. The (instantaneous) frequency of an oscillator is altered in accordance wi ...
, which generates sound through
modulation Signal modulation is the process of varying one or more properties of a periodic waveform in electronics and telecommunication for the purpose of transmitting information. The process encodes information in form of the modulation or message ...
of
sine wave A sine wave, sinusoidal wave, or sinusoid (symbol: ∿) is a periodic function, periodic wave whose waveform (shape) is the trigonometric function, trigonometric sine, sine function. In mechanics, as a linear motion over time, this is ''simple ...
s.
John Chowning John M. Chowning (; born August 22, 1934, in Salem, New Jersey) is an American composer, musician, discoverer, and professor best known for his work at Stanford University, the founding of CCRMA – Center for Computer Research in Music and ...
, the technique's pioneer, theorized that the technology would be capable of accurate recreation of any sound if enough sine waves were used, but budget computer audio cards performed FM synthesis with only two sine waves. Combined with the cards' 8-bit audio, this resulted in a sound described as "artificial" and "primitive".Levy, David S.
Aztech's WavePower daughtercard improves FM reception. (Aztech Labs Inc.'s wavetable synthesis add-on card for Sound Blaster 16 or Sound Galaxy Pro 16 sound cards) (Hardware Review) (Evaluation).
" Computer Shopper. SX2 Media Labs LLC. 1994.
Wavetable
daughterboard In computing, an expansion card (also called an expansion board, adapter card, peripheral card or accessory card) is a printed circuit board that can be inserted into an electrical connector, or expansion slot (also referred to as a bus sl ...
s that were later available provided audio samples that could be used in place of the FM sound. These were expensive, but often used the sounds from respected MIDI instruments such as the
E-mu Proteus The E-mu Proteus was a range of digital sound modules and keyboards manufactured by E-mu Systems from 1989 to 2002. History E-mu Systems came to prominence in the early 1980s with its relatively affordable E-mu Emulator, Emulator Sampling (musi ...
. The computer industry moved in the mid-1990s toward wavetable-based soundcards with 16-bit playback but standardized on a 2 MB of wavetable storage, a space too small in which to fit good-quality samples of 128 General MIDI instruments plus drum kits. To make the most of the limited space, some manufacturers stored 12-bit samples and expanded those to 16 bits on playback.


Other applications

Despite its association with music devices, MIDI can control any electronic or digital device that can read and process a MIDI command. MIDI has been adopted as a control protocol in a number of non-musical applications.
MIDI Show Control MIDI Show Control (MSC), is a real-time System Exclusive extension of the international Musical Instrument Digital Interface (MIDI) standard. MSC enables all types of entertainment equipment to communicate with each other through the process of s ...
uses MIDI commands to direct stage lighting systems and to trigger cued events in theatrical productions. VJs and turntablists use it to cue clips, and to synchronize equipment, and recording systems use it for synchronization and
automation Automation describes a wide range of technologies that reduce human intervention in processes, mainly by predetermining decision criteria, subprocess relationships, and related actions, as well as embodying those predeterminations in machine ...
. Wayne Lytle, the founder of
Animusic Animusic, LLC is a dormant animation company specializing in the 3D visualization of MIDI-based music. Founded by Wayne Lytle in 1990, it is currently a registered limited liability company in New York and had offices in Texas and California ...
, derived a system he dubbed MIDIMotion in order to produce the ''Animusic'' series of computer-animated music video albums; Animusic would later design its own animation software specifically for MIDIMotion called Animotion. Apple Motion allows for a similar control of animation parameters through MIDI. The 1987
first-person shooter A first-person shooter (FPS) is a video game genre, video game centered on gun fighting and other weapon-based combat seen from a First person (video games), first-person perspective, with the player experiencing the action directly through t ...
game ''
MIDI Maze ''MIDI Maze'', also known as ''Faceball 2000'', is a networked first-person shooter maze video game for the Atari ST developed by Xanth Software F/X and released in 1987 by Hybrid Arts. The game takes place in a maze of untextured walls. The worl ...
'' and the 1990
Atari ST Atari ST is a line of personal computers from Atari Corporation and the successor to the company's Atari 8-bit computers, 8-bit computers. The initial model, the Atari 520ST, had limited release in April–June 1985, and was widely available i ...
computer puzzle game Puzzle video games make up a broad genre of video games that emphasize puzzle solving. The types of puzzles can test problem-solving skills, including logic, pattern recognition, sequence solving, spatial recognition, and word completion. Man ...
''
Oxyd ''Oxyd'' is a 1990 puzzle video game developed for the Atari ST and ported to the Amiga, Mac (computer), Macintosh, MS-DOS, and NeXT by Dongleware Verlags GmbH. It is a game of puzzles and tests to restart all the oxygen generators (called Oxyd ...
'' used MIDI to network computers together.


Devices


Connectors and interface


DIN connector

Per the original MIDI 1.0 standard, cables terminate in a 180° five-pin DIN connector (DIN 41524). Typical applications use only three of the five conductors: a ground wire (pin 2), and a
balanced pair In telecommunications and professional audio, a balanced line or balanced signal pair is an electrical circuit consisting of two conductors of the same type, both of which have equal impedances along their lengths, to ground, and to other c ...
of conductors (pins 4 and 5) that carry the MIDI signal as an
electric current An electric current is a flow of charged particles, such as electrons or ions, moving through an electrical conductor or space. It is defined as the net rate of flow of electric charge through a surface. The moving particles are called charge c ...
.Bozeman, William C. ''Educational Technology: Best Practices from America's Schools''. Larchmont: Eye on Education, 1999. This connector configuration can only carry messages in one direction, so a second cable is necessary for two-way communication. Some proprietary applications, such as phantom-powered footswitch controllers, use the spare pins for
direct current Direct current (DC) is one-directional electric current, flow of electric charge. An electrochemical cell is a prime example of DC power. Direct current may flow through a conductor (material), conductor such as a wire, but can also flow throug ...
(DC) power transmission.
Opto-isolator An opto-isolator (also called an optocoupler, photocoupler, or optical isolator) is an electronic component that transfers electrical signals between two isolated circuits by using light. Opto-isolators prevent high voltages from affecting the s ...
s keep MIDI devices electrically separated from their MIDI connections, which prevents ground loops and protects equipment from voltage spikes. There is no
error detection In information theory and coding theory with applications in computer science and telecommunications, error detection and correction (EDAC) or error control are techniques that enable reliable delivery of digital data over unreliable communi ...
capability in MIDI, so the maximum cable length is set at to limit
interference Interference is the act of interfering, invading, or poaching. Interference may also refer to: Communications * Interference (communication), anything which alters, modifies, or disrupts a message * Adjacent-channel interference, caused by extra ...
.


TRS minijack connector

To save space, some MIDI devices (smaller ones in particular) started using 3.5 mm TRS phone connectors (also known as audio minijack connectors). This became widespread enough that the MIDI Manufacturers' Association standardized the wiring. The MIDI-over-minijack standards document also recommends the use of 2.5 mm connectors over 3.5 mm ones to avoid confusion with audio connectors.


Thru port

Most devices do not copy messages from their input to their output port. A third type of port, the ''thru'' port, emits a copy of everything received at the input port, allowing data to be forwarded to another instrument in a daisy-chain arrangement.Hass, Jeffrey.
Chapter Three: How MIDI works 2
". Indiana University Jacobs School of Music. 2010. Web. 13 August 2012.
Not all devices feature thru ports, and devices that lack the ability to generate MIDI data, such as effects units and sound modules, may not include out ports.Gibbs, Jonathan (Rev. by Peter Howell) "Electronic Music". ''Sound Recording Practice'', 4th Ed. Ed. John Borwick. Oxford: Oxford University Press, 1996


Management devices

Each device in a daisy chain adds delay to the system. This can be avoided by using a MIDI thru box, which contains several outputs that provide an exact copy of the box's input signal. A MIDI merger is able to combine the input from multiple devices into a single stream, and allows multiple controllers to be connected to a single device. A MIDI switcher allows switching between multiple devices, and eliminates the need to physically repatch cables. MIDI routers combine all of these functions. They contain multiple inputs and outputs, and allow any combination of input channels to be routed to any combination of output channels. Routing setups can be created using computer software, stored in memory, and selected by MIDI program change commands. This enables the devices to function as standalone MIDI routers in situations where no computer is present. MIDI data processors are used for utility tasks and special effects. These include MIDI filters, which remove unwanted MIDI data from the stream, and MIDI delays, effects that send a repeated copy of the input data at a set time.


Interfaces

A computer MIDI interface's main function is to synchronize communications between the MIDI device and the computer. Some computer sound cards include a standard MIDI connector, whereas others connect by any of various means that include the
D-subminiature The D-subminiature or D-sub is a common type of electrical connector. They are named for their characteristic D-shaped metal shield. When they were introduced, D-subs were among the smallest connectors used on computer systems. Description ...
DA-15
game port The game port is a device port that was found on IBM PC compatible and other computer systems throughout the 1980s and 1990s. It was the traditional connector for joystick input, and occasionally MIDI devices, until made obsolete by USB in the ...
,
USB Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
,
FireWire IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real-time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a number of companies, primarily Sony a ...
,
Ethernet Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
or a proprietary connection. The increasing use of
USB Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
connectors in the 2000s has led to the availability of MIDI-to-USB data interfaces that can transfer MIDI channels to USB-equipped computers. Some MIDI keyboard controllers are equipped with USB jacks, and can be connected directly to computers that run music software. MIDI's serial transmission leads to timing problems. A three-byte MIDI message requires nearly 1 millisecond for transmission. Because MIDI is serial, it can only send one event at a time. If an event is sent on two channels at once, the event on the second channel cannot transmit until the first one is finished, and so is delayed by 1 ms. If an event is sent on all channels at the same time, the last channel's transmission is delayed by as much as 16 ms. This contributed to the rise of MIDI interfaces with multiple in- and out-ports, because timing improves when events are spread between multiple ports as opposed to multiple channels on the same port. The term ''MIDI slop'' refers to audible timing errors that result when MIDI transmission is delayed.


Controllers

There are two types of MIDI controllers: performance controllers that generate notes and are used to perform music, and controllers that may not send notes, but transmit other types of real-time events. Many devices are a combination of the two types.
Keyboard Keyboard may refer to: Text input * Keyboard, part of a typewriter * Computer keyboard ** Keyboard layout, the software control of computer keyboards and their mapping ** Keyboard technology, computer keyboard hardware and firmware Music * Mus ...
s are by far the most common type of MIDI controller. MIDI was designed with keyboards in mind and any controller that is not a keyboard is considered an "alternative" controller. This was seen as a limitation by composers who were not interested in keyboard-based music, but the standard proved flexible, and MIDI compatibility was introduced to other types of controllers, including guitars, and other stringed instruments and drum controllers and
wind controller A wind controller, sometimes referred to as a wind synthesizer, is an electronic wind instrument. It is usually a MIDI controller associated with one or more music synthesizers. Wind controllers are most commonly played and fingered like a wood ...
s, which emulate the playing of
drum kit A drum kit or drum set (also known as a trap set, or simply drums in popular music and jazz contexts) is a collection of drums, cymbals, and sometimes other Percussion instrument, auxiliary percussion instruments set up to be played by one p ...
and wind instruments, respectively and specialized and experimental controllers. Nevertheless, some features of the keyboard playing for which MIDI was designed do not fully capture other instruments' capabilities;
Jaron Lanier Jaron Zepel Lanier (, born May 3, 1960) is an American computer scientist, visual artist, computer philosophy writer, technologist, futurist, and composer of contemporary classical music. Considered a founder of the field of virtual reality, La ...
cites the standard as an example of technological "lock-in" that unexpectedly limited what was possible to express. Some of these shortcomings have been addressed in
extensions Extension, extend or extended may refer to: Mathematics Logic or set theory * Axiom of extensionality * Extensible cardinal * Extension (model theory) * Extension (proof theory) * Extension (predicate logic), the set of tuples of values t ...
to the protocol. Software synthesizers offer great power and versatility, but some players feel that division of attention between a MIDI keyboard and a computer keyboard and mouse robs some of the immediacy from the playing experience. Devices dedicated to real-time MIDI control provide an ergonomic benefit and can provide a greater sense of connection with the instrument than an interface that is accessed through a computer. Controllers may be general-purpose devices that are designed to work with a variety of equipment, or they may be designed to work with a specific piece of software. Examples of the latter include Akai's APC40 controller for
Ableton Live Ableton Live is a digital audio workstation for macOS and Windows developed by the German company Ableton. In contrast to many other software sequencers, Live is designed to be an instrument for live performances as well as a tool for compos ...
, and Korg's MS-20ic controller, a reproduction of the control panel on their
MS-20 The Korg MS-20 is a patchable semi-modular Monophonic (synthesizers), monophonic analog synthesizer which Korg released in 1978 and which was in production until 1983. It was part of Korg's MS series of instruments, which also included the singl ...
analog synthesizer. The MS-20ic controller includes patch cables that can be used to control signal routing in their virtual reproduction of the MS-20 synthesizer and can also control third-party devices.


Instruments

A MIDI instrument contains ports to send and receive MIDI signals, a CPU to process those signals, an interface for user programming, audio circuitry to generate sound, and controllers. The operating system and factory sounds are often stored in a
read-only memory Read-only memory (ROM) is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Read-only memory is useful for storing sof ...
(ROM) unit. A MIDI instrument can also be a stand-alone module (without a piano-style keyboard) consisting of a General MIDI soundboard (GM, GS and XG), onboard editing, including transposing, MIDI instrument selection and adjusting volume, pan, reverb levels and other MIDI controllers. Typically, the MIDI module includes a screen, so the user can view information for the currently selected function.


Synthesizers

Synthesizers may employ any of a variety of sound generation techniques. They may include an integrated keyboard or may exist as sound modules that generate sounds when triggered by an external controller, such as a MIDI keyboard. Sound modules are typically designed to be mounted in a
19-inch rack A 19-inch rack is a standardized frame or enclosure for mounting multiple electronic equipment modules. Each module has a front panel that is wide. The 19 inch dimension includes the edges or ''ears'' that protrude from each side of the ...
. Manufacturers commonly produce a synthesizer in both standalone and rack-mounted versions, and often offer the keyboard version in a variety of sizes.


Samplers

A sampler can record and digitize audio, store it in
random-access memory Random-access memory (RAM; ) is a form of Computer memory, electronic computer memory that can be read and changed in any order, typically used to store working Data (computing), data and machine code. A random-access memory device allows ...
(RAM), and play it back. With a sampler, users typically can edit a sample and save it to a hard disk, apply effects to it, and shape it with the same tools that subtractive synthesizers use. They also may be available in either keyboard or rack-mounted form. Instruments that generate sounds through sample playback, but have no recording capabilities, are known as " ROMplers". Samplers did not become established as viable MIDI instruments as quickly as synthesizers did due to the expense of memory and processing power at the time. The first low-cost MIDI sampler was the
Ensoniq Mirage The Ensoniq Mirage is one of the earliest affordable sampler-synths, introduced in 1984 as Ensoniq's first product. Introduced at a list price of $1,695 with features previously only found on more expensive samplers like the Fairlight CMI, the Mi ...
, introduced in 1984. MIDI samplers are typically limited by displays that are too small to use to edit sampled waveforms, although some can be connected to a computer monitor.


Drum machines

Drum machine A drum machine is an electronic musical instrument that creates percussion sounds, drum beats, and patterns. Drum machines may imitate drum kits or other percussion instruments, or produce unique sounds, such as synthesized electronic tones. A d ...
s typically are sample playback devices that specialize in drum and percussion sounds. They commonly contain a sequencer for creating drum patterns and arranging them into a song. There often are multiple audio outputs so that each sound or group of sounds can be routed to a separate output. The individual drum voices may be playable from another MIDI instrument or from a sequencer.


Workstations and hardware sequencers

Sequencer technology predates MIDI.
Analog sequencer An analog sequencer is a music sequencer constructed from analog electronics, invented in the first half of the 20th century. Raymond Scott designed and constructed some of the first electro-mechanical music sequencers in the 1940s. The first ...
s use
CV/Gate CV/gate (an abbreviation of ''control voltage/gate'') is an analog method of controlling synthesizers, drum machines, and similar equipment with external sequencers. The control voltage typically controls pitch and the gate signal controls note ...
signals to control pre-MIDI analog synthesizers. MIDI sequencers typically are operated by transport features modeled after those of
tape deck An audio tape recorder, also known as a tape deck, tape player or tape machine or simply a tape recorder, is a sound recording and reproduction device that records and plays back sounds usually using magnetic tape for storage. In its present ...
s. They are capable of recording MIDI performances and arranging them into individual tracks using a
multitrack recording Multitrack recording (MTR), also known as multitracking, is a method of sound recording developed in 1955 that allows for the separate recording of multiple sound sources or of sound sources recorded at different times to create a cohesive who ...
paradigm. Music workstations combine controller keyboards with an internal sound generator and a sequencer. These can be used to build complete arrangements and play them back using their own internal sounds and function as self-contained music production studios. They commonly include file storage and transfer capabilities.


Effects units

Some
effects unit An effects unit, effects processor, or effects pedal is an electronic device that alters the sound of a musical instrument or other audio source through audio signal processing. Common effects include distortion (music), distortion/overdrive, ...
s can be remotely controlled via MIDI. For example, the Eventide H3000 Ultra-harmonizer allows such extensive MIDI control that it is playable as a synthesizer. The Drum Buddy, a pedal-format
drum machine A drum machine is an electronic musical instrument that creates percussion sounds, drum beats, and patterns. Drum machines may imitate drum kits or other percussion instruments, or produce unique sounds, such as synthesized electronic tones. A d ...
, has a MIDI connection so that it can have its tempo synchronized with a looper pedal or time-based effects such as delay.


Technical specifications

MIDI messages are made up of 8-bit
bytes The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable un ...
transmitted at 31,250 (±1%) 
baud In telecommunications and electronics, baud (; symbol: Bd) is a common unit of measurement of symbol rate, which is one of the components that determine the speed of communication over a data channel. It is the unit for symbol rate or modulat ...
using 8-N-1
asynchronous serial communication Asynchronous serial communication is a form of serial communication in which the communicating endpoints' interfaces are not continuously synchronized by a common clock signal. Synchronization ( clock recovery) is done by data-embedded signal ...
as described in the figure. The first bit of each byte identifies whether the byte is a ''status'' byte or a ''data'' byte, and is followed by seven bits of information. A MIDI link can carry sixteen independent channels, numbered 1–16. A device may listen to specific channels and ignore messages on other channels (''omni off'' mode), or it can listen to all channels, effectively ignoring the channel address (''omni on''). A device that is
polyphonic Polyphony ( ) is a type of musical texture consisting of two or more simultaneous lines of independent melody, as opposed to a musical texture with just one voice ( monophony) or a texture with one dominant melodic voice accompanied by chords ...
can sound multiple notes simultaneously, until the device's polyphony limit is reached, or the notes reach the end of their decay envelope, or explicit ''note-off'' MIDI commands are received. A device that is
monophonic Monaural sound or monophonic sound (often shortened to mono) is sound intended to be heard as if it were emanating from one position. This contrasts with stereophonic sound or ''stereo'', which uses two separate audio channels to reproduce sou ...
instead terminates any previous note when new ''note-on'' commands arrive. ''Some'' receiving devices may be set to all four combinations of ''omni off/on'' and ''mono/poly'' modes.


Messages

A MIDI message is an instruction that controls some aspect of the receiving device. A MIDI message consists of a status byte, which indicates the type of the message, followed by up to two data bytes that contain the parameters.Brewster, Stephen. "Nonspeech Auditory Output". ''The Human-Computer Interaction Handbook: Fundamentals, Evolving Technologies, and Emerging Applications''. Ed. Julie A. Jacko; Andrew Sears. Mahwah: Lawrence Erlbaum Associates, 2003. p.227 MIDI messages can be ''channel messages'' sent on only one of the 16 channels and monitored only by devices on that channel, or ''system messages'' that all devices receive. Each receiving device ignores data not relevant to its function. There are five types of message: Channel Voice, Channel Mode, System Common, System Real-Time, and System Exclusive. Channel Voice messages transmit real-time performance data over a single channel. Examples include ''note-on'' messages which contain a MIDI note number that specifies the note's pitch, a velocity value that indicates how forcefully the note was played, and the channel number; ''note-off'' messages that end a note; program change messages that change a device's patch; and control changes that allow adjustment of an instrument's parameters. MIDI notes are numbered from 0 to 127 assigned to C−1 to G9. This extends beyond the 88-note piano range from A0 to C8 and corresponds to a frequency range of 8.175799 to 12543.85 Hz.


System Exclusive messages

System Exclusive (SysEx) messages send information about a synthesizer's functions, rather than performance data such as which notes are being played and how loud. Because they can include functionality beyond what the MIDI standard provides, they are a major reason for the flexibility and longevity of the MIDI standard. Manufacturers use them to create proprietary messages that control their equipment more thoroughly than the limitations of standard MIDI messages. The MIDI Manufacturers Association issues a unique identification number to MIDI companies. These are included in SysEx messages, to ensure that only the specifically addressed device responds to the message, while all others know to ignore it. Many instruments also include a SysEx ID setting, so a controller can address two devices of the same model independently. ''Universal'' System Exclusive messages are a special class of SysEx messages used for extensions to MIDI that are not intended to be exclusive to one manufacturer.


Implementation chart

Devices typically do not respond to every type of message defined by the MIDI specification. The MIDI implementation chart was standardized by the MMA as a way for users to see what specific capabilities an instrument has, and how it responds to messages. A populated MIDI implementation chart is usually published as part of the documentation for MIDI devices.


Electrical specifications

MIDI 1.0's electrical interface is based around a fully isolated
current loop In electrical signalling an analog current loop is used where a device must be monitored or controlled remotely over a pair of conductors. Only one current level can be present at any time. A major application of current loops is the industry ...
along the red and blue lines in the following
schematic A schematic, or schematic diagram, is a designed representation of the elements of a system using abstract, graphic symbols rather than realistic pictures. A schematic usually omits all details that are not relevant to the key information the sc ...
: "DIN / TRS" in this schematic indicates that either a
DIN connector The DIN connector is an electrical signal connector that was standardized by the (DIN), the German Institute for Standards, in the mid 1950s, initially with three pins for mono, but when stereo connections and gear appeared in the late 1950s, v ...
or a TRS phone connector may be used. To transmit a logic 0 and a start bit, the sender's
UART A universal asynchronous receiver-transmitter (UART ) is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to ...
produces a low voltage. This results in a nominal 5 
milliampere The ampere ( , ; symbol: A), often shortened to amp,SI supports only the use of symbols and deprecates the use of abbreviations for units. is the unit of electric current in the International System of Units (SI). One ampere is equal to 1 c ...
s current flow sourced from the sender's high voltage supply, which travels rightwards along the red lines though the shielded
twisted-pair Twisted pair cabling is a type of communications cable in which two conductors of a single circuit are twisted together for the purposes of improving electromagnetic compatibility. Compared to a single conductor or an untwisted balanced ...
cable and into the receiver's opto-isolator. The current exits the opto-isolator and returns back leftwards along the blue lines into the sender's UART, which
sinks A sink (also known as ''basin'' in the UK) is a bowl-shaped plumbing fixture for washing hands, dishwashing, and other purposes. Sinks have a tap (faucet) that supplies hot and cold water and may include a spray feature to be used for faste ...
the current.
Resistors A resistor is a passive two-terminal electronic component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias active e ...
R1 and R2 limit the current and are equal to provide a balanced impedance. The
diode A diode is a two-Terminal (electronics), terminal electronic component that conducts electric current primarily in One-way traffic, one direction (asymmetric electrical conductance, conductance). It has low (ideally zero) Electrical resistance ...
is for protection. This current turns on the opto-isolator's
LED A light-emitting diode (LED) is a semiconductor device that emits light when current flows through it. Electrons in the semiconductor recombine with electron holes, releasing energy in the form of photons. The color of the light (corresp ...
and
phototransistor A photodiode is a semiconductor diode sensitive to photon radiation, such as visible light, infrared or ultraviolet radiation, X-rays and gamma rays. It produces an electrical current when it absorbs photons. This can be used for detection and me ...
, so the receiver's UART can read the signal with the help of
pull-up resistor In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal. More specifically, a pull-up resistor or pull-down resistor ensures that a wire will have a high logic lev ...
R3 to the receiver's voltage supply. While the supplies in the original specification are 5 
volts The volt (symbol: V) is the unit of electric potential, electric potential difference (voltage), and electromotive force in the International System of Units (SI). Definition One volt is defined as the electric potential between two point ...
, the receiver and sender may use different voltage levels. To transmit a logic 1, a stop bit, and while idle, the sender's
UART A universal asynchronous receiver-transmitter (UART ) is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to ...
produces the same high voltage as its voltage supply provides, which results in no current flow. This avoids wasting power when idle.


Extensions

MIDI's flexibility and widespread adoption have led to many refinements of the standard, and have enabled its application to purposes beyond those for which it was originally intended.


General MIDI

MIDI allows the selection of an instrument's sounds through program change messages, but there is no guarantee that any two instruments have the same sound at a given program location.Bello, Juan P.
MIDI: sound control
". ''nyu.edu''. New York University. n.d. Web. 18 August 2012
Program #0 may be a piano on one instrument, or a flute on another. The General MIDI (GM) standard was established in 1991, and provides a standardized sound bank that allows a Standard MIDI File created on one device to sound similar when played back on another. GM specifies a bank of 128 sounds arranged into 16 families of eight related instruments, and assigns a specific program number to each instrument. Any given program change selects the same instrument sound on any GM-compatible instrument. Percussion instruments are placed on channel 10, and a specific MIDI note value is mapped to each percussion sound. The GM standard eliminates variation in note mapping. Some manufacturers had disagreed over what note number should represent middle C, but GM specifies that note number 69 plays
A440 A440 or A-440 may refer to: * A440 (pitch standard) * A440 highway (Australia), a road in Victoria, Australia * Quebec Autoroute 440 (Laval) * Quebec Autoroute 440 (Quebec City) See also * Apollo 440, an English band * Airbus A400M The Air ...
, which in turn fixes middle C as note number 60. GM-compliant devices must offer 24-note polyphony. GM-compatible devices are required to respond to velocity, aftertouch, and pitch bend, to be set to specified default values at startup, and to support certain controller numbers such as for
sustain pedal A sustain pedal or sustaining pedal (also called damper pedal, loud pedal, or open pedal) is the most commonly used piano pedals, pedal in a modern piano. It is typically the rightmost of two or three pedals. When pressed, the sustain pedal ...
, and Registered Parameter Numbers (RPNs). A simplified version of GM, called ''GM Lite'', is used for devices with limited processing power.


GS, XG, and GM2

A general opinion quickly formed that the GM's 128-instrument sound set was not large enough. Roland's General Standard, or
Roland GS Roland GS, or just GS, sometimes expanded as General Standard or General Sound, is a MIDI specification. It requires that all GS-compatible equipment must meet a certain set of features and it documents interpretations of some MIDI commands and byt ...
, included additional sounds, drumkits and effects, provided a ''bank select'' command that could be used to access them, and used MIDI Non-Registered Parameter Numbers (NRPNs) to access its new features. Yamaha's Extended General MIDI, or
Yamaha XG Yamaha XG (Extended General MIDI) is an extension to the General MIDI standard, created by Yamaha Corporation, Yamaha. It is similar in purpose to the Roland GS standard. Features Relative to General MIDI, XG gained popularity by increasin ...
, followed in 1994. XG similarly offered extra sounds, drumkits and effects, but used standard controllers instead of NRPNs for editing, and increased polyphony to 32 voices. Both standards feature backward compatibility with the GM specification but are not compatible with each other. Neither standard has been adopted beyond its creator, but both are commonly supported by music software titles. Member companies of Japan's AMEI developed the
General MIDI Level 2 General MIDI Level 2 or GM2 is a specification for synthesizers which defines several requirements beyond the more abstract MIDI standard and is based on General MIDI, GS extensions, and XG extensions. It was adopted in 1999 by the MIDI Manufactur ...
specification in 1999. GM2 maintains backward compatibility with GM, but increases polyphony to 32 voices, standardizes several controller numbers such as for
sostenuto Piano pedals are foot-operated levers at the base of a piano that change the instrument's sound in various ways. Modern pianos usually have three pedals, from left to right, the soft pedal (or una corda), the sostenuto pedal, and the sustaini ...
and
soft pedal The soft pedal or , is one pedal on a piano, generally placed leftmost among the pedals. On a grand piano this pedal shifts the whole action (including the keyboard) slightly to the right, so that the hammers, which normally strike all three ...
(''una corda''), RPNs and Universal System Exclusive Messages, and incorporates the MIDI Tuning Standard. GM2 is the basis of the instrument selection mechanism in Scalable Polyphony MIDI (SP-MIDI), a MIDI variant for low-power devices that allows the device's polyphony to scale according to its processing power.


Tuning standard

Most MIDI synthesizers use
equal temperament An equal temperament is a musical temperament or Musical tuning#Tuning systems, tuning system that approximates Just intonation, just intervals by dividing an octave (or other interval) into steps such that the ratio of the frequency, frequencie ...
tuning. The MIDI tuning standard (MTS), ratified in 1992, allows alternate tunings.The MIDI Tuning Standard
". ''microtonal-synthesis.com''. n.p. n.d. Web. 17 August 2012
MTS allows microtunings that can be loaded from a bank of up to 128 patches, and allows real-time adjustment of note pitches. Manufacturers are not required to support the standard. Those who do are not required to implement all of its features.


Time code

A sequencer can drive a MIDI system with its internal clock, but when a system contains multiple sequencers, they must synchronize to a common clock. MIDI timecode (MTC), developed by
Digidesign Avid Audio (formerly Digidesign) is an American digital audio technology company. It was founded in 1984 by Peter Gotcher and Evan Brooks. The company began as a project to raise money for the founders' band, selling EPROM chips for drum machin ...
, implements SysEx messages developed specifically for timing purposes, and can translate to and from the
SMPTE timecode SMPTE timecode ( or ) is a set of cooperating standards to label individual frames of video or film with a timecode. The system is defined by the Society of Motion Picture and Television Engineers in the SMPTE 12M specification. SMPTE revised ...
standard. MIDI interfaces such as Mark of the Unicorn's MIDI Timepiece can convert SMPTE code to MTC. While MIDI clock is based on tempo, timecode is based on frames and is independent of tempo. MTC, like SMPTE timecode, includes position information and can recover in the event of a dropout.


Machine control

MIDI Machine Control (MMC) consists of a set of SysEx commands that operate the transport controls of hardware recording devices. MMC lets a sequencer send ''Start'', ''Stop'', and ''Record'' commands to a connected tape deck or hard disk recording system, and to fast-forward or rewind the device to start playback at the same point as the sequencer. No synchronization data is involved, although the devices may synchronize through MTC.


Show control

MIDI Show Control MIDI Show Control (MSC), is a real-time System Exclusive extension of the international Musical Instrument Digital Interface (MIDI) standard. MSC enables all types of entertainment equipment to communicate with each other through the process of s ...
(MSC) is a set of SysEx commands for sequencing and remotely
cueing Cue or CUE may refer to: Event markers *Sensory cue, in perception (experimental psychology) ** Cueing (medicine), rehabilitation techniques for Parkinson's disease patients to improve walking *Cue (theatrical), the trigger for an action to be car ...
show control devices such as lighting, music and sound playback, and
motion control Motion control is a sub-field of automation, encompassing the systems or sub-systems involved in moving parts of machines in a controlled manner. Motion control systems are extensively used in a variety of fields for automation purposes, includi ...
systems. Applications include stage productions, museum exhibits, recording studio control systems, and
amusement park An amusement park is a park that features various attractions, such as rides and games, and events for entertainment purposes. A theme park is a type of amusement park that bases its structures and attractions around a central theme, often fea ...
attractions.


Timestamping

One solution to MIDI timing problems is to mark MIDI events with the times they are to be played, transmit them beforehand, and store them in a buffer in the receiving device. Sending data beforehand reduces the likelihood that a busy passage overwhelms the transmission link. Once stored in the receiver, the information is no longer subject to timing issues associated with MIDI or USB interfaces and can be played with a high degree of accuracy. MIDI timestamping only works when both hardware and software support it. MOTU's MTS, eMagic's AMT, and Steinberg's Midex 8 had implementations that were incompatible with each other, and required users to own software and hardware manufactured by the same company to work. Timestamping is built into FireWire MIDI interfaces,Walker, Martin.
The Truth About Latency: Part 2
". ''Sound on Sound''. SOS Publications. Oct 2002. Print.
Mac OS X
Core Audio Core Audio is a low-level API for dealing with sound in Apple's macOS and iOS operating systems. It includes an implementation of the cross-platform OpenAL. Apple's Core Audio documentation states that "in creating this new architecture on Ma ...
, and Linux ALSA Sequencer.


Sample dump standard

An unforeseen capability of SysEx messages was their use for transporting audio samples between instruments. This led to the development of the sample dump standard (SDS), which established a new SysEx format for sample transmission. SDS was later augmented with a pair of commands that allow the transmission of information about sample loop points, without requiring that the entire sample be transmitted.


Downloadable Sounds

The Downloadable Sounds (DLS) specification, ratified in 1997, allows mobile devices and computer
sound card A sound card (also known as an audio card) is an internal expansion card that provides input and output of audio signals to and from a computer under the control of computer programs. The term ''sound card'' is also applied to external audio ...
s to expand their wave tables with downloadable sound sets. The DLS Level 2 specification followed in 2006, and defined a standardized synthesizer architecture. The Mobile DLS standard calls for DLS banks to be combined with SP-MIDI, as self-contained Mobile XMF files.


MIDI Polyphonic Expression

MIDI Polyphonic Expression (MPE) is a method of using MIDI that enables pitch bend, and other dimensions of expressive control, to be adjusted continuously for individual notes. MPE works by assigning each note to its own MIDI channel so that controller messages can be applied to each note individually. The specifications were released in November 2017 by AMEI and in January 2018 by the MMA. Instruments like the
Continuum Fingerboard The Continuum Fingerboard or Haken Continuum is a music performance controller and synthesizer developed by Lippold Haken, a professor of Electrical and Computer Engineering at the University of Illinois, and sold by Haken Audio, located in Cha ...
, LinnStrument,
ROLI Seaboard The Seaboard is a musical keyboard-style MIDI MIDI controller, controller manufactured by the British music technology company ROLI. It has a continuous sensor-embedded flexible rubber surface for playing the keys instead of traditional lever-sty ...
,
Sensel Sensel is an electronics company based in Sunnyvale, California that builds touch input technologies . It was founded in 2013 by former Amazon engineers Ilya Rosenberg and Aaron Zarraga. Sensel's first product, the Morph, is a pressure sensitive ...
Morph, and Eigenharp let users control pitch, timbre, and other nuances for individual notes within chords.


Alternative hardware transports

In addition to using a 31.25 kbit/s current-loop over a
DIN connector The DIN connector is an electrical signal connector that was standardized by the (DIN), the German Institute for Standards, in the mid 1950s, initially with three pins for mono, but when stereo connections and gear appeared in the late 1950s, v ...
, the same data can be transmitted over different hardware transports such as
USB Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
,
FireWire IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real-time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a number of companies, primarily Sony a ...
, and
Ethernet Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
.


USB and FireWire

Members of the USB-IF in 1999 developed a standard for MIDI over USB, the "Universal Serial Bus Device Class Definition for MIDI Devices". MIDI over USB has become increasingly common as other interfaces that had been used for MIDI connections ( ISA card,
game port The game port is a device port that was found on IBM PC compatible and other computer systems throughout the 1980s and 1990s. It was the traditional connector for joystick input, and occasionally MIDI devices, until made obsolete by USB in the ...
, etc.) disappeared from personal computers. Linux, Microsoft Windows, Macintosh OS X, and Apple iOS operating systems include standard class drivers to support devices that use the "Universal Serial Bus Device Class Definition for MIDI Devices".
Apple Computer Apple Inc. is an American multinational corporation and technology company headquartered in Cupertino, California, in Silicon Valley. It is best known for its consumer electronics, software, and services. Founded in 1976 as Apple Computer Co ...
developed the FireWire interface during the 1990s. It began to appear on
digital video Digital video is an electronic representation of moving visual images (video) in the form of encoded digital data. This is in contrast to analog video, which represents moving visual images in the form of analog signals. Digital video comprises ...
(DV) cameras toward the end of the decade, and on G3 Macintosh models in 1999.Wiffen, Paul.
An Introduction To mLAN, Part 1
. . ''Sound on Sound''. SOS Publications. August 2000.
It was created for use with multimedia applications. Unlike USB, FireWire uses intelligent controllers that can manage their own transmission without attention from the main CPU.Wiffen, Paul.

. . ''Sound on Sound''. SOS Publications. September 2000.
As with standard MIDI devices, FireWire devices can communicate with each other with no computer present.


XLR connectors

The Octave-Plateau
Voyetra-8 The Voyetra-8 (Voyetra-Eight) is an eight voice polyphonic analog synthesizer. Released in 1982 by Octave-Plateau Electronics (later renamed Voyetra and still later merged with Turtle Beach Systems to become Voyetra Turtle Beach, Inc.), it was one ...
synthesizer was an early MIDI implementation using XLR3 connectors in place of the 5-pin DIN. It was released in the pre-MIDI years and later retrofitted with a MIDI interface but kept its XLR connector.


Serial parallel, and joystick port

As computer-based studio setups became common, MIDI devices that could connect directly to a computer became available. These typically used the 8-pin mini-DIN connector that was used by Apple for
serial port A serial port is a serial communication Interface (computing), interface through which information transfers in or out sequentially one bit at a time. This is in contrast to a parallel port, which communicates multiple bits simultaneously in Pa ...
s prior to the introduction of the Blue and White G3 models. MIDI interfaces intended for use as the centerpiece of a studio, such as the
Mark of the Unicorn Mark of the Unicorn (MOTU) is a music-related computer software and hardware supplier developed by Jason Linhart, Craig Finseth, Scott Layson Burson, Brian Hess. It is based in Cambridge, Massachusetts and has created music software since 1984. ...
MIDI Time Piece, were made possible by a fast transmission mode that could take advantage of these serial ports' ability to operate at 20 times the standard MIDI speed.MIDI Cables & Transports
". ''midi.org''. Music Manufacturers Association. n.d. Web. 27 August 2012.
Mini-DIN ports were built into some late-1990s MIDI instruments and enabled such devices to be connected directly to a computer. Some devices connected via a PCs'
DB-25 parallel port In computing, a parallel port is a type of interface found on early computers (personal and otherwise) for connecting peripherals. The name refers to the way the data is sent; parallel ports send multiple bits of data at once (parallel c ...
, or through the DA-15 game port found on many PC sound cards.


mLAN

Yamaha introduced the
mLAN mLAN, short for Music Local Area Network, is a protocol for synchronized transmission and management of multi-channel digital audio, video, control signals and multi-port MIDI over a network. Description The mLAN protocol was originally develop ...
protocol in 1999. It was conceived as a
local area network A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, campus, or building, and has its network equipment and interconnects locally managed. LANs facilitate the distribution of da ...
for musical instruments using FireWire as the transport and was designed to carry multiple MIDI channels together with multichannel digital audio, data file transfers, and timecode. mLan was used in a number of Yamaha products, notably
digital mixing console In professional audio, a digital mixing console (DMC) is a type of mixing console used to combine, route, and change the dynamics, equalization and other properties of multiple audio input signals, using digital signal processing rather than an ...
s and the Motif synthesizer, and in third-party products such as the PreSonus FIREstation and the
Korg Triton Studio The Korg Triton is a music workstation synthesizer, featuring digital Sampling (music), sampling and Music sequencer, sequencing, released in 1999. It uses Korg's "HI (Hyper Integrated) Synthesis" system and was eventually available in several mode ...
. No new mLan products have been released since 2007.


SCSI MIDI Device Interface (SMDI)

SCSI Small Computer System Interface (SCSI, ) is a set of standards for physically connecting and transferring data between computers and peripheral devices, best known for its use with storage devices such as hard disk drives. SCSI was introduced ...
MIDI Device Interface (SMDI) was used by some samplers and
hard disk recorder A hard disk recorder (HDR) is a system that uses a high-capacity hard disk to record digital audio or digital video. Hard disk recording systems represent an alternative to reel-to-reel audio tape recording and video tape recorders, and provide ...
s in the 1990s (e.g.
Kurzweil K2000 The Kurzweil K2000 is a digital synthesizer and music workstation produced by Kurzweil Music Systems between 1991 and 2000 in a variety of standard configurations, including rack-mountable versions and models that came with 16-bit user sampling. ...
and Peavey SP Sample Playback Synthesizer) for fast bidirectional sample transport to
hard disk drives A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating platters coated with magnet ...
and
magneto-optical drive A magneto-optical drive is a kind of optical disc drive capable of writing and rewriting data upon a magneto-optical disc. 130 mm (5.25 in) and 90 mm (3.5 in) discs are the most common sizes. In 1983, just a year after t ...
s.


Ethernet and Internet Protocol

Computer network A computer network is a collection of communicating computers and other devices, such as printers and smart phones. In order to communicate, the computers and devices must be connected by wired media like copper cables, optical fibers, or b ...
implementations of MIDI provide network routing capabilities, and the high-bandwidth channel that earlier alternatives to MIDI, such as ZIPI, were intended to bring. Proprietary implementations have existed since the 1980s, some of which use
fiber optic An optical fiber, or optical fibre, is a flexible glass or plastic fiber that can transmit light from one end to the other. Such fibers find wide usage in fiber-optic communications, where they permit transmission over longer distances and at ...
cables for transmission. The
Internet Engineering Task Force The Internet Engineering Task Force (IETF) is a standards organization for the Internet standard, Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster ...
's RTP-MIDI open specification has gained industry support. Apple has supported this protocol from
Mac OS X macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
10.4 onwards, and a
Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
driver based on Apple's implementation exists for Windows XP and newer versions.


Wireless

Systems for wireless MIDI transmission have been available since the 1980s. Several commercially available transmitters allow wireless transmission of MIDI and OSC signals over
Wi-Fi Wi-Fi () is a family of wireless network protocols based on the IEEE 802.11 family of standards, which are commonly used for Wireless LAN, local area networking of devices and Internet access, allowing nearby digital devices to exchange data by ...
and
Bluetooth Bluetooth is a short-range wireless technology standard that is used for exchanging data between fixed and mobile devices over short distances and building personal area networks (PANs). In the most widely used mode, transmission power is li ...
. iOS devices are able to function as MIDI control surfaces, using Wi-Fi and OSC. An
XBee Digi XBee is the brand name of a popular family of form factor compatible wireless connectivity modules from Digi International. The first XBee modules were introduced under the MaxStream brand in 2005 and were based on the IEEE 802.15.4-2003 ...
radio can be used to build a wireless MIDI transceiver as a do-it-yourself project. Android devices are able to function as full MIDI control surfaces using several different protocols over
Wi-Fi Wi-Fi () is a family of wireless network protocols based on the IEEE 802.11 family of standards, which are commonly used for Wireless LAN, local area networking of devices and Internet access, allowing nearby digital devices to exchange data by ...
and
Bluetooth Bluetooth is a short-range wireless technology standard that is used for exchanging data between fixed and mobile devices over short distances and building personal area networks (PANs). In the most widely used mode, transmission power is li ...
.


MIDI 2.0


See also

*
ABC notation ABC notation is a shorthand form of musical notation for computers. In basic form it uses the letter notation with –, –, and , to represent the corresponding notes and rests, along with other elements used to place added value on these – ...
*
Digital piano A digital piano is a type of electronic keyboard instrument designed to serve primarily as an alternative to the traditional acoustic piano, both in how it feels to play and in the sound it produces. Digital pianos use either synthesized emula ...
*
Electronic drum module An electronic drum module is an electronic or digital music device in an electronic drum kit that serves as the central processing unit and sound module. The drum module creates or produces the drum kit sounds or other sounds selected by the drum ...
*
Guitar synthesizer A guitar synthesizer is any one of a number of musical systems that allow a guitarist to access synthesizer capabilities. Overview Today's guitar synths are direct descendants of 1970s devices from manufacturers (often in partnership) such as ...
*
List of music software This is a list of software for creating, performing, learning, analyzing, researching, broadcasting and editing music. This article only includes software, not services. For streaming services such as iHeartRadio, Pandora (service), Pandora, Prime ...
*
MIDI mockup A MIDI mockup is an extensive demo of a recording project built using virtual instrument software or hardware to stand in for acoustic instruments. These extensive demos are frequently used in projects requiring large budgets to record, such as ...
*
MusicXML MusicXML is an XML-based file format for representing Western musical notation. The format iopen fully documented, and can be freely used under the W3C Community Final Specification Agreement. History MusicXML was invented by Michael Good and ini ...
*
Music Macro Language Music Macro Language (MML) is a music description language used in sequencing music on computer and video game systems. Background Early automatic music generation functions were used in arcade video games, which used many computer sounds. Ea ...
*
SoundFont SoundFont is a brand name that collectively refers to a file format and associated technology that uses sample-based synthesis to play MIDI files. It was first used on the Sound Blaster AWE32 sound card for its General MIDI support. SoundFon ...
*
Synthetic music mobile application format Synthetic musicsmaf-yamaha.com spells it Synthetic music Mobile Application Format, with the word "music" not capitalized so it does not participate in the abbreviation SMAF. Mobile Application Format, abbreviated SMAF, is a music data format spec ...


Notes


References


External links


The MIDI Association

You can download English-language MIDI specifications
at the
MIDI Manufacturers Association The MIDI Manufacturers Association (MMA) is a non-profit trade organization where companies work together to create MIDI standards comparison, MIDI standards that assure compatibility among MIDI products. The MMA is a U.S. organization established ...
{{Authority control Computer hardware standards Electronic music Japanese inventions Serial buses