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

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

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

ADVERTISEMENT

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

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK