I am having some technical difficulties getting my patch to work the way I want it to. Maybe somebody can help me out. I would truly appreciate it.
Essentially, I am using OSCulator to send OSC messages from my Wii remote into PD. I have built a patch that receives the accelerometer information and forwards it to a subpatch. Essentially, I coded this so that playback begins when the accelerometer reaches equal to or great than 0.7.
However, when I flick my wrist with the remote to get a value equal to or greater than 0.7, I keep receiving nonstop bangs. I want to code this in a way so that every time I bang once, I can't bang again for a specific amount of time. For example, only one bang is allowed to be receive every 3 seconds. This way, I won't be receiving tons of continuous data. After all, when I flick my wrist, it bangs for every value between 0.7 and everything up. Ideas?
Here is a picture of my patch so far:
I have heard that it might be useful to use either the [change] object or the [speedlim] object. Being new to PD, I am still trying to figure certain components. Help would be massively appreciated about how to actually do this. I may be overcomplicating it.
Thank you everyone!