peak detection with float numbers

ćwiek's icon

hi!
i am trying to do some kind of trigger from data from motion sensor. i was trying, to use bonk after sig~, but i cannot configure it well. i am also wondering with way to smooth data values is the best in your opinion.

2930.coll.maxpat
Max Patch
Luke Hall's icon

I don't have the [smoother] abstraction/object so the patch doesn't do much. One quick tip though: don't name your patches the same as any of the regular objects as it can cause confusion in the search path.

ćwiek's icon

i have found some great tutorial https://cycling74.com/docs/max5/tutorials/jit-tut/jitterchapter28.html. thanks for your help anyway! :)