Tap tempo should become more precise with more taps
-
- KVRist
- 196 posts since 12 Mar, 2002 from Mountain View, CA
Hey Brad, can you please give me some insight into the tap tempo algorithm? From playing around with it, I get the impression that you calculate the tempo based on the last N taps, where N is a hardcoded number. I think it would be more precise to calculate the tempo using all the taps since the last reset. So if I tap 8 times, the calculated value would be more precise than if I tapped 4 times. Then if I wait 3 seconds, the algorithm resets and I start over from scratch. Does that make sense? I know it's subtle, but it actually makes a big difference when I'm on-stage trying to sync up with my drummer and my tapping isn't exactly on beat.
-
- KVRian
- 791 posts since 8 Mar, 2006 from Australia
Your right, it uses a moving average of the last N taps (I can't remember N off hand). Perhaps it just needs a bigger value of N.
-
- KVRist
- Topic Starter
- 196 posts since 12 Mar, 2002 from Mountain View, CA
Yeah, that would be great. I'd say using the last 8 taps for the calculation sounds about right, but start calculating after 2. If anyone else has an opinion, please chime in.
-
- KVRian
- 791 posts since 8 Mar, 2006 from Australia
Hrm... so I just checked the code and it's already using the last 8 taps, starts calculating on the 3rd tap and resets after 3 seconds of nothing.
What I'm thinking is that it's responsiveness is related to the tempo you're trying to tap and perhaps it should just use all taps in the last N seconds.
I'll post something over to the development forum here see if anyone else has some insight.
Brad
What I'm thinking is that it's responsiveness is related to the tempo you're trying to tap and perhaps it should just use all taps in the last N seconds.
I'll post something over to the development forum here see if anyone else has some insight.
Brad
-
- KVRist
- Topic Starter
- 196 posts since 12 Mar, 2002 from Mountain View, CA
Oops. May just be pilot error then. Let me play around with it some more. So far I've just been testing in the studio with a metronome. I'll let you know how it holds up at gigs and rehearsals.bradr wrote:Hrm... so I just checked the code and it's already using the last 8 taps, starts calculating on the 3rd tap and resets after 3 seconds of nothing.
-
- KVRian
- 791 posts since 8 Mar, 2006 from Australia
-
- KVRist
- Topic Starter
- 196 posts since 12 Mar, 2002 from Mountain View, CA
Ha ha. Sure, 2 taps works great... as long as you're exactly on beat.
But seriously, don't waste any more time on this, especially if I'm the only one that's concerned about it. I'm still getting my new Cantabile setup dialed in. I'll have better data once I've had a chance to use it at rehearsal.
