midi triggering

Sep 18, 2013 at 3:20am

midi triggering


I’ve got a some what complex patch, I wont take you through the process as this will confuse.

1) all the input data is generated from a notein trigger.
2) to re route data, switches/clear/resets/etc…. are controlled by note off messages. (velin, sel0)

This all works fine if the user presses a different key each time, user presses key all data is triggered, user lets go of key data is re-routed.

However, if the user presses the same key multiply times, the switches are changing but the data is not.
I need a way to trigger things only if the data is different every time.

so an object which stores the first input and acts as a sel object, ie: if message matches outlet1, no match outlet2.
The input message needs to change everytime, if its different.

I’m sure this is not the best way to describe what I want. Please ask further probing questions to clear the confusion.

Sep 18, 2013 at 4:50am

I appreciate you don’t want to post a complex patch, but maybe just the part you describe might help. Otherwise, would [trigger b i] or [change] help in any way?


Sep 18, 2013 at 6:57am

Hi Brendan, I’ve sent you the patch at ‘interpose’ email. thanks Ashley.

Sep 18, 2013 at 7:43am

Hi Ashley
Only have time to glance at your patch, and it’s not abundantly clear what the different parts of your patch are doing (only cos I’m way busy and thick); but from what you describe in your email, see if the following simple patch helps; you say you only want output if something changes, well:


– Pasted Max Patch, click to expand. –




You must be logged in to reply to this topic.