I have a copy of the old E&MM "tap tempo" project. I'll try to look it out later. I think the usual (hardware) way is to use a fast clock and a counter. First tap resets the counter, the second tap saves the count after the "tap" period , and subsequently the circuit resets the counter and outputs a pulse each time that count is reached... Steve