Skip to content

kevinstadler/arduino-tap-midi-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

arduino tap midi clock

This sketch implements a MIDI beat clock driver which can be controlled by tapping a button or pedal (such as a digital keyboard sustain pedal) connected to the Arduino. Holding the button/pedal down for 1 second stops the beat messages until a new tempo is tapped in.

The default pin setting I used for building a compact unit out of an Arduino Nano is as follows:

  • External power supply (5-20V) to pins VIN and GND
  • Button or pedal to pins GND and 14 aka A0 (used in INPUT_PULLUP mode)
  • MIDI DIN connector pin 2 to Arduino GND
  • MIDI DIN connector pin 4 to Arduino pin 5V through a 220 Ohm resistor
  • MIDI DIN connector pin 5 to Arduino pin 10 through a 220 Ohm resistor
  • Status LED to Arduino pin 6 (through a suitable resistor)

Arduino Tap Midi Clock hardware

Dependencies

This sketch requires two libraries, both available for download from within Arduino:

About

Send MIDI beat clock based on tap input from a pedal or button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages