Since I'm too poor to finish my looper right now I thought I'd look at some of the TODO's I've created.
One is a programmable tap tempo.
Has anyone written a
simple uC-based tap tempo, preferably on an Atmel (Arduino) chip and have the code to share? All I would need is to record the interval of the last two taps in milliseconds, store that with the preset, then send two pulses out when a preset is loaded. The interval could be stored in an unsigned 16 bit integer giving me 65+ seconds. Way more than I'll ever need with the Boss DD-7.
A couple of things that concern me are:
* Latency
My current switch debounce routine takes approx 30ms. It's based on the "Handling Multiple Inputs" section found here:
http://www.ganssle.com/debouncing-pt2.htm. It works marvelously but I haven't tried to reduce the number of samples (6) or the sample interval (5ms). I need to get the whole thing in a stomp-able enclosure before I start tweaking values. As coded, I'm thinking that's going to limit my tap interval to >= 60ms (approximately, of course).
Am I going to need a different routine to read just the tap tempo switch?
* Physically shorting the tap out jack
My looper has two amp control outputs. One stereo, one mono. I use a couple of DPDT relays to short tip/sleeve and/or tip/ring. I was thinking about making the mono jack double as a tap tempo out.
How do other folks send the pulses to the external device?