Tap Tempo

Thelordofsod's icon

Im having trouble trying to create an accurate tap tempo patch in max. does anyone have any ideas that could help me?

nathan wolek's icon

On Nov 2, 2006, at 12:36 PM, Dave Mcwayne wrote:

> Im having trouble trying to create an accurate tap tempo patch in
> max. does anyone have any ideas that could help me?

[timer]
It's right in the help patch.

-----
Nathan Wolek
nw@nathanwolek.com
http://www.nathanwolek.com

Thelordofsod's icon

so i can use that to create a crude tap tempo, but how about taking an average over say, ten seconds to create a more accurate tempo reading?

alex.i's icon

just apply some math to the output...
use the trough and peak objects to
find the min and max, then average them

Jean-Francois Charles's icon
Wetterberg's icon

Dave Mcwayne skrev:
> so i can use that to create a crude tap tempo, but how about taking an average over say, ten seconds to create a more accurate tempo reading?
here's the one I use. It averages all taps that are below an adjustable
threshold.
Andreas.

Max Patch
Copy patch and select New From Clipboard in Max.

Daan's icon

This one is simple. It measures time between taps, sums them up, and then divides by number of taps. That way you always have accurate average.
Plus some extra's

Greets, Daan

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon

thats a lot of numbers, don malone!

Stefan Tiedje's icon

Daniel van West wrote:
> This one is simple. It measures time between taps, sums them up, and
> then divides by number of taps. That way you always have accurate
> average.

Its only simple if the tempo is relatively constant. Averaging is always
very off for accelerando or ritardando...

I haven't seen a good patch for that yet by the way, looks I have to
start implementing it...

Stefan

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

jvkr's icon

>I haven't seen a good patch for that yet by the way,
>looks I have to start implementing it...

Does this get you somewhere?

_
johan

Max Patch
Copy patch and select New From Clipboard in Max.


Peter McCulloch's icon

Median rather than mean might be a good algorithm for this, as outliers
will be less influential. Here's PM.ListMedian. (use bucket, zl
group, etc. to construct your list)

Max Patch
Copy patch and select New From Clipboard in Max.

On Mar 5, 2007, at 5:32 AM, Stefan Tiedje wrote:

> Daniel van West wrote:
>> This one is simple. It measures time between taps, sums them up, and
>> then divides by number of taps. That way you always have accurate
>> average.
>
> Its only simple if the tempo is relatively constant. Averaging is
> always very off for accelerando or ritardando...
>
> I haven't seen a good patch for that yet by the way, looks I have to
> start implementing it...
>
> Stefan
>
> --
> Stefan Tiedje------------x-------
> --_____-----------|--------------
> --(_|_ ----|-----|-----()-------
> -- _|_)----|-----()--------------
> ----------()--------www.ccmix.com
>
>
>
www.petermcculloch.com

Stefan Tiedje's icon

jvkr schrieb:
>> I haven't seen a good patch for that yet by the way,
>> looks I have to start implementing it...
>
> Does this get you somewhere?

at least accelerando it seems to do, the ritardando is obviously more
tricky...

Stefan

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

Axiom-Crux's icon

man this topic is old, care to dig through the 2001 list entries and reply to something about "Jitter coming soon"?