I know it's a long discussed subject in these forum pages but being novice on max and following step by step tuts and advices to build my patch, I'm stuck for a while trying to solve something that seems simple but just drive me crazy.
Here is the thing: I'm performing a blob detection on a video and extract blobs infos (via cv.jit.blobs.centroids) to trigger midi notes. What I would like to do is trigerring a midi note "on" message whenever a new blob's detected and triggering a midi note "off" message whenever it disappears. The problem is that my blob continuously output bangs which continuously reset the midi sound produced.
I tried to filter these extra and useless bangs out with several objects (onebang, change, zl change) but can't get it to work.
Any suggestion will be greatly appreciate !