Tutorial by Examples

The MIDI Thru is simple and easy to test. When working properly you will be able to install your Arduino project between two MIDI devices, MIDI IN to MIDI OUT and you will be able to verify that the two device operate together. If you have the ability to measure latency, you will see an increase d...
// This is a more complex MIDI THRU. This version uses a queue. Queues are important because some // MIDI messages can be interrupted for real time events. If you are generating your own messages, // you may need to stop your message to let a "real time" message through and then resum...
// This is a MiDI clk generator. This takes a #defined BPM and // makes the appropriate clk rate. The queue is used to let other messages // through, but allows a clock to go immediately to reduce clock jitter #define QUEUE_DEPTH 128 #define BPM 121 #define MIDI_SYSRT_CLK 0xF8 // clock...
In general, MIDI protocol is broken down into "messages". There are 4 general classes of messages: Channel Voice Channel Mode System Common System Real-Time Messages Messages start with a byte value above 0x80. Any value below 0x7F is considered data. Effectively meaning that 1...

Page 1 of 1