Building a MIDI Instrument

MIDI (Musical Instrument Digital Interface) is a standard used for transmitting musical data between electronic devices. It allows instruments, computers and other devices to communicate with each other and to control various aspects of music such as notes, pitch, velocity and more.

Information on the standard set by the MMA (MIDI Manufactures Association) can be found on this link

There are also other Standards like;
1. USB(United Serial Bus) which is a standard interface used for connecting peripherals to computers and other devices. It allows for plug and play functionality and supports data transfer.

2. JPEG(Joint Photographic Experts Group) is a standard image compression format commonly used for storing and transferring digital images.

3. TCP/ IP(Transmission Control Protocol/ Internet Protocol) is a set of communication protocols used for connecting devices over the internet. It establishes a connection between devices, ensures data integrity and facilitates the transmission of data packets between networks.



In our week 4 class, we built a Midi Instrument

 To build a Midi Instrument, you will need,

- An Arduino, USB lead, LDR, piezo or switch and 10K Resistor

- A MIDI to USB interface

- A 220r resistor

- A 5 pin DIN sockets with leads soldered to pins 2 and 4

Then, you will need to run a software synthesiser (SynthEdit or similar)






After connecting wires,

- Run the example MIDI code

- It is in the communication examples

- Plug in the MIDI to USB lead and make sure the synth is configured to see the MIDI Interface

You should hear notes being played in the synth.





Code to Run the Program


Overall, this task was a little difficult compared to the first one. In this project, we used a MIDI controller alongside the synth edit software to allow us to control the speed of the notes it has created. MIDI also known as Musical Instrument Digital Interface allows arduino microcontrollers to control musical instruments and software.








Comments

Popular posts from this blog

Introduction to Arduino Uno

Running MPU-92/65 sensor with Arduino to Measure Real time Temperature