Rythm detection with accelerometers
Hello,
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,
Mathieu
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)
search this forum for 'tap tempo'; look at the helpfiles for global transport and timer
yep, timer helpfile, grab (say) 4 bang durations into [accum], divide by 4, there's a good average to start with.
Thanks a lot
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
without:
with:
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 :
But it is more a sequencer approach, you have to tap 4 times to set the tempo value.
Thanks a lot
Mathieu