November 2013 1
Connecting MIDI and Arduino is easy, especially with the new MIDI library. Most of the people use the Arduino to trigger midi signals when pressing buttons and moving faders. Today we want to do it the other way around: Controlling a little oszillator – a square output signal tone() – with an Midi-In signal from a keyboard. The speciality: we want to implement the pitchbend send by the midi master.
The pitchbend is a controller value that can be send from a midi master. It alters the pitch of a note. It is separated in 3 bytes as can be seen below: the first one states (more…)