I'm trying to use bonk~ to detect different kinds of touches on a touch screen (tap, knock, punch, etc..), but I'm having some trouble with analyzing the signal that comes from the microphone (Im doing this on an Android tablet).
I started playing around with thresh and debounce objects to see if I could tune bonk~ to only listen to sound every 200ms or so (because no one will tap faster on the touch screen) to eliminate some of the noise and false positive results.
Can you help me better understand threshold object and if I can use it to do what I explained?
This microphone is really sensitive but also not very good, so I can't mess around much with the signal (filter ambient noise and voices and such is not very easy for me also )
Any input is appreciated!
Here is my patch: testRec.pd