Forums > MaxMSP

Rythm detection with accelerometers

Apr 12 2010 | 9:05 am


I would like to have your opinion about rythm detection : repetitive movements with sensors (accelerometers).

I would like to link the movement rythm detection with the phase vocoder to change a music file tempo. I am ok with the phase vocoder but I would like to have some help on rythme detection.

Maybe you already know some patches on the subject ?

I am thinking about these steps :
– giving some hits with the sensor at a specified rythm
– recording the time events in a coll object
– maybe averaging a set of detections
– linking the real time rythm detection to the tempo provided by a phase vocoder (ok)

Any ideas ?

Thanks in advance,


Apr 12 2010 | 9:29 am

In fact I just want to know how I could do this thing :

Clicking on a bang object at a specified speed and then modifying a number box which represent the rythm of the events (bang clicking)

Apr 12 2010 | 9:40 am

search this forum for ‘tap tempo’; look at the helpfiles for global transport and timer

Apr 12 2010 | 9:49 am

yep, timer helpfile, grab (say) 4 bang durations into [accum], divide by 4, there’s a good average to start with.

Apr 12 2010 | 10:56 am

Thanks a lot

Apr 12 2010 | 12:48 pm

here are two excellent examples of tap tempo, 1 with global transport the other without; i pulled them off the forum, so their operation is a little unclear; to me anyway


-- Pasted Max Patch, click to expand. --


-- Pasted Max Patch, click to expand. --

Apr 12 2010 | 1:15 pm

That’s great ! Thank you !

I will see which one will work better with the phase vocoder.

I think that the second version is quite good.

I found this version on the Internet :

-- Pasted Max Patch, click to expand. --

But it is more a sequencer approach, you have to tap 4 times to set the tempo value.

Thanks a lot


Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP