Arduino basics – MIDI clock signals

Arduino Music
Arduino basics – MIDI clock signals

Mididin Clocks2

Little-scale has another helpful mini how-to for those of you digging in with blue microcontroller

It is often desirable to synchronise something like a homemade sequencing circuit or a Commodore 64 to MIDI clock signals.

I thought I might share some generic Arduino skeleton code that could be used to synchronise
many different types of things to MIDI clock (and therefore ProTools, Ableton Live etc — any type of host sequencer).

The hexadecimal bytes to look out for are nice and straightforward:

byte midi_start = 0xfa;
byte midi_stop = 0xfc;
byte midi_clock = 0xf8;
byte midi_continue = 0xfb;

How to deal with MIDI signal clocks in Arduino

– In case you’re in need of a schematic for connecting MIDI input to your board, Arduino forum member Kuk provides this excellent hand-drawn rendition using an optocoupler IC:

kuks_midi-in_schem.jpg

works: MIDI-IN: code + schematics

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK