The MIDI Standard
1
The MIDI Standard 1 Overview What is MIDI? Brief history of - - PowerPoint PPT Presentation
The MIDI Standard 1 Overview What is MIDI? Brief history of MIDI How does MIDI work? Short Example MIDI Files and Connections Timing Issues Advantages and Disadvantages 2 What is MIDI? MIDI stands
1
2
Interface
and the data format of electronic instruments and audio systems
computers, and related audio devices
easy to modify
the instrument and musician
3 https://store.djtechtools.com/products/midi-fighter-64
electronic musical instruments
○ different manufacturers means different standards ○ possibly trying to link analog and digital devices to each other ○ limiting musicians ability to perform with many different machines
Circuits, Yamaha, Korg and Kawai, then created MIDI
4
○ Each MIDI device usually has several channels ○ Think of a channel as an individual capable of playing many instruments and switching between them
guitar, drum, bass, etc)
○ Include sequencer, synthesizer, drum machine, etc.
5
○ 10 bits over a period of 320 mircoseconds per serial byte
6
From MIDI 1.0 Specification
device)
7
http://properlydone.org/MidiTheory/midi/midi_messages.htm
○ Plays a note with specific pitch and attack (volume)
○ Turns off a note on a channel
○ Knob, switch, pedal, etc. ○ Generated when state of a controller changes
○ Used to switch program on a specified channel
○ Unique to specific MIDI devices (determined by the manufacturer)
8
M - channel select bits N - depends on input
G9 (note 127)
88-key piano
the human hearing range
within the typical human hearing range
9 http://global.oup.com/us/companion.websites/fdscontent/uscompanion/us/static/companion.websites/9780199922963/Chapter7.html
samples
“ControlChange” messages that can modify the sound, select what instrument is being played, etc.
10
Example from http://www.music-software-development.com/midi-tutorial.html Status Data1 - Pitch Data2 - Attack
11
○ arrangement track count, tempo, and format
○ Type 0: single track of entire performance ○ Type 1: multitrack to be played back simultaneously ○ Type 2 (rare): multiple arrangements, each arrangement in own track to be played sequentially
12
○ Typically only 3 pins used
○ In: provides input from MIDI controller ○ Thru: output signal that provides copy of the MIDI in (daisy chaining) ○ Out: provides output to another MIDI device, perhaps a synthesizer
Image sources: https://www.amazon.com/Monoprice-108532-Cable-Plugs-2-Pack/dp/B009G UP5SW, MIDI 1.0 Specification 13
14
MIDI 1.0 Specification
15
https://whitefiles.org/b1_s/1_free_guides/fg1mt/pgs/h15g.htm
○ Some MIDI devices use timestamps to specify in advance when notes should stop or start. Using timers and interrupts, these instructions can be executed with significantly less delay!
○ MIDI specifies maximum of 50 ft
16
http://expressiveness.org/2012/12/04/midi-jitter
○ Further specifications for MIDI-compatible instruments ○ Must support 16 simultaneous channels ○ Must support multiple simultaneous notes on each channel ○ Defines the instrument mapped to each of the 128 possible patch numbers ○ Also General MIDI Level 2 added a couple features
○ Most just add support for their own patches ○ Roland GS (1991) ○ Yamaha XG (1994)
17
○ Digital synthesizers and sequencers ○ Digital Audio Workstations ○ Effects units
18
https://blog.etcconnect.com/2017/03/midi-show-control-midi-note/
Advantages:
○ Only contain instructions on how to play audio
pitch of a section Disadvantages:
○
Not what they do: slightly different sounds, different capabilities across devices
○ Most MIDI instruments have a different sound from their real instrument counterpart
19
instruments
20
https://www.midi.org/specifications-old/category/midi-1-0-detailed-specification s
○ Requires a free account to download
https://www.midi.org/specifications-old/item/table-1-summary-of-midi-message
21
22