Arduino basics - MIDI clock signals

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:

works: MIDI-IN: code + schematics
Posted by Collin Cunningham |
Jun 3, 2008 04:00 PM
Arduino, Music |
Permalink
| Comments (0)
| Email This |
| Digg this!
Recent Entries
- Googlephone Jailbreak - Remote access gained ...
- CircuitBoardsToGo.com
- The Death Trick automaton
- LED "Art Object" is the new LED throwie
- Submersed Songs: Fish that make music
- Learn about electronics: Relays 101
- Teach Make!
- Robotic fish
- Medical aesthetic footwear
- New soft circuit kits in the maker shed and massive soft electronics roundup
Comments
Oldest comments listed first.
Subscribe to MAKE Magazine!
Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.
$34.95 / 1 year
(4 Quarterly Issues)
Features and more @ MAKE!

Stop by the Maker Shed store and check out THE place for open source hardware, Arduino & Arduino accessories, electronic kits, science kits, smart stuff for kids, back issues of MAKE & CRAFT, box sets, books, robots, kits from Japan and more.
Add MAKE to iGoogle - GoogleGoogle.
Add MAKE to your RSS reader - Real simple.
Add MAKE on Twitter.
Add MAKE on FriendFeed & the MAKE room.

Why advertise on MAKE?
Read what folks are saying about us!
Click here to advertise on MAKE!
Makezine authors!
Phillip Torrone
Senior Editor
Tel: 707-827-7311
Twitter / AIM
Gareth Branwyn
Jonah Brucker-Cohen
Collin Cunningham
Marc de Vinck
Kip Kay
Luke Iseman
Patti Schiendelman
Becky Stern
Mike Dixon
Peter Horvath(intern)



Leave a comment