Some of us love a bit of uP-based misery! Makes such a change from all that analogue misery on the rest of this forum!
Ha yeah it's a nice change for me too, but bringing back a lot of painful memories from when i started trying to teach myself electronics...so much to learn, so little time!
Could you modify the tap tempo code to *toggle* a pin instead of producing such a short pulse? Or is there a way you can find out what sets the timing of the pulse it outputs and make it longer?
The tap tempo is written by someone else, i've just been supplied the chip. It's a bit of a black box scenario.
It sounds like the Tap Tempo output pulse is only the very briefest spike and the input is simply not fast enough to catch it. You say you doubt they're too quick, but how quick are they exactly? You also say you can barely see them on an *osciiloscope* and that makes them sound pretty damn quick to me!
Yeah you're right, it's super quick so probably too quick for the input. It also seems to be low voltage as well, but i'm having real difficulty measuring the thing.
Try a small cap to ground on the tap pulse to act as a pulse stretcher - probably no larger than 1nF. A simple bodge that can work, although it reduces the peak of the pulse, it will be wider and it doesn't have to reach 5v to be seen as high (normally >3v). Also you can enable pull-up on the input to make it a little easier to go high.
I seem to recall trying an RC filter on the output of the tap tempo but perhaps the resistor negated the effect of pulse stretching you're suggesting. I'll give it a try.
There is another possible solution i've overlooked which could potentially be a lot simpler. The tap tempo is triggering a kind of side chain which lights an LED on every beat the tap tempo is putting out. I could probably use this output, rather than the tap tempo itself, into the attiny85. I'm sorry i can't be more specific about the details, i'm trying to do this as a favour for someone and have only had a few glimpses of the schematic of the whole circuit. It seemed quite straight forward at first, but now you lot have been roped in ha.
The pulse from the side chain section has been described to me as looking like the top wave in this (childrens) picture i've drawn. The bottom wave is the expected output of the attiny, doing the inverse (off beat) The problem i see is that the rising edge of the 'off beat' won't fall in the middle of the first waves duty cycle, so won't actually be on the off beat.

The first and third pulses are triggering a 'bass drum', second and fourth a 'snare'. I'm trying trigger a 'high hat' on every off beat, but as i see it the off beat should fall exactly in the middle of two pulses, which it surely won't in this scenario.
I hope i'm making sense, this has got me in a pickle