MIDI (Musical Instrument Digital Interface) is a technical standard that allows electronic musical instruments, computers, and other related devices to communicate and synchronize with each other. It does not transmit sound itself but sends data about how music is played, such as notes, timing, and intensity. This data can then be used to control different instruments or software to produce music. It is a higher order, more abstract data type that is meant to be better understood by humans.  ![image.png](image-95f33305-c903-4b94-bfec-153888c65841.webp) ## Midi Data is Essentially Sheet Music MIDI data appears in your computer editor like this. Below are the notes to "Twinkle Twinkle Little Star" in MIDI data displayed horizontally, as you would see in music software.  ![image.png](image-5eb54166-8f5b-4a48-957e-f3b610b4765d.webp) #### **This corresponds to the following in sheet music notation:** ![image.png](image-7431f995-b1e8-4ed8-ab8a-3680051f218c.webp) #### **MIDI data can also be viewed vertically, similar to the format used in many online piano tutorial videos. It is fundamentally readable and interpretable.** ![image.png](image-e4fe0f9b-db17-45c7-a6aa-4a5019398ceb.webp) ## Midi Devices and Cables MIDI devices are instruments that transmit MIDI data to various sources. Examples include MIDI-capable keyboards, synthesizers, and drum machines. MIDI cables are used to transmit MIDI (Musical Instrument Digital Interface) data between electronic musical instruments, computers, and other devices. Each MIDI cable is unidirectional, meaning it can only send data in one direction. Therefore, you need separate "out" and "in" connections to facilitate two-way communication. - **MIDI Out**: Sends data from a device to another. - **MIDI In**: Receives data from another device. This setup allows Device A to control Device B and vice versa, enabling complex MIDI setups for music production and live performances. ![image.png](Midi%20Routing%20Through%20Studio.webp) ## MIDI Data between Midi Device and Computer: Modern Way If your musical keyboard has a USB B port, you can use it as a bidirectional MIDI cable, enabling both sending and receiving MIDI data through a single connection. Additionally, a MIDI to USB interface can be used to translate MIDI data from a traditional MIDI cable into a USB cable. However, if your keyboard has a USB connector, MIDI data can be transmitted directly via USB. #### **A USB-B cable (modern printer cable) for transmitting MIDI data** ![image.png](image-92fc9f3d-aa40-4c88-8f33-58bf7395acb3.webp) #### **MIDI USB interfaces are typically used to connect computers to older devices that lack modern USB ports.** ![[Midi to USB Adapter.webp|313]]