Help for a non programmer with logic please. I suspect this’s easy if you are familiar with pure data which I am sorry to say I am not. I am using two home made sensors to send midi note data to pd to trigger events. While one sensor is continuously activated (possibly for several minutes) it sends a note on value and once deactivated it sends note off. While this sensor is activated I want the other sensor to be prevented from passing through data. In pseudo code it would be something like
If note in is 50 and velocity is 127
Note in 43 with any velocity is ignored
I have tried and failed with so many convoluted messy patches I have resorted to asking for help although I am ashamed not to be able to figure this out for myself.