Hi Guys…
I’m new to puredata and i’m trying to filter out a specific MIDI message but i’m having some problems.
The message I’m trying to avoid reach my MIDI output is : MIDI NOTE 51, Velocity = 0. (A note off)
I just want to pass to the output the Note On 51, and not the Note Off. All other notes I want to pass the note on and off.
I tried using a stripnote object between my midiin and midiout but it will filter out other notes too.
Any ideas how to do that ??
In code, I want something like this:
if (note == 51 and velocity == 0)
do nothing
else
Let it pass;
Any idea ?
Thanks