I am trying to detect a specific range of midi note and send them using OSC.
The thing is, my range is big and therefore I am receiving a lot of OSC message.
I am using a snare drum, using PureData I saw that the drum midi note is usually between 48 and 49, I am looking for a solution to detect when the drum has been hit or not.
When I am hitting the drum, sometimes, PureData detect and send 48.2 / 48.4 / 48.5 (for example) so I receive three "hit" instead of only one.... I searched for a timer in order to send only one OSC message in an interval but can't find anything .. A timer or any other idea coming in your mind..
I hope I was clear enough...
Here is my patch :
Thank you for your help and advices,