HI All!
I am seeking a way to stop the stream of bangs that come with a [counter].
I need to trigger some chords via midi. The idea is that PD is waiting to see if I hit and stay on a particular midi pitch number over 300 milliseconds. If I do, then PD plays a chord that harmonizes with that note.
In the attached patch you can see I have started to build something that strips the note-off message so that just the midi pitch numbers can be evaluated by select objects to the right. I use that same stripnote object to so that i can measure the time between note-on and note-off messages, which I 'count' in milliseconds.
So, I have a counter triggered by [metro 1] (at 1 millisecond to count time). Below the counter, I have [> 300] working as a threshold, so that when it is tripped, I can send the waiting midi pitch number over to the right to be evaluated (selected) to then play the chord that will accompany that note. You will see that there is no line connecting from the bottom of the threshold system to the top right, where i have a [s note#] object.
Regrettably the stream of bangs from the counter are also flowing creating a cacophony. Any help would be much appreciated. I have attached my (messy) preview below
I am so close to improvising with this thing! Just missing something simple I am sure. Or I am very misguided in my novice PD programming.
Thank you for your expertise!
Best,
D