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.
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?
Hi Brendan, I’ve sent you the patch at ‘interpose’ email. thanks 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:
<code>-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 615.3ocyVFrahCCDF9bpTeGrx4rUwljzx9NrW2KqVUYRFJtjXGYaJvVsu6qy 3jn.BXCkJnWrwimL9e9r8Xd+96BBmo1.lPx2I+hDD7tyR.ZqwRPmgfvJ9l7R tAcLLWUUARaXT6jVXiEmnVCFCoPLeNncNPVBaMQD6BPRzPMvsPQ4Vh2KmUhg WAMNEQVuPTBj0ba9Bg7Ebxev2PVKjEp08KToPB4pURb0R5rNWIsRWjPI7SPW vk79OotMjOqgbqOMYOk9PbDg5ayvtlVxu6in9kYM9F6lp0jbUkPVBVj.zNqh BbQUyd8aSCG3pZksy23gxzH9CJSJ6gXz7eu+tldWWznwuDV6VvCQewfMkykJ YMIKYhmJSl1zxnCgx+k.OdyIP9Bt7E3BQ.ihcoIe.Dj0Gde9a2VC9XGFFQBw 8Ge2NAc.rlb8NtvyWRDDwkhqzzQgK1AvU5Iv0w.D8SGPUtxQ7AGa5IT7GFML lmMLOavAzomEaR9Rvlic3ohuDjJKPnwwjj33K7PTaU31qdm3TzjCPJ1wI07R EGux4+ww3F6SmaKMkhBPOhLeXhSOy6Ozim4GrTSMW61Zrf9YPxmUB6TcVi0N wDu2e2K0t2w4VgRNP4nVwlmva8oS1S0CQ6dHz6G9R99+qCjQMSrGXMpU57t7 psrAYvBV.FqPhhbfSOtqSKDEEfbmDtPXZf.hySrSOZYkMFYkd0kEaLxJ6lHK 5XnE8pJK5XjE6lHq3wHqufahIWDsZKXvqqeCzl1H6Ujqj6qJcy3rH+XgzO1+ PXnFdSz8I9hZgbsqNr0UJak1+F0lrjP2L3B5Z922bwNR -----------end_max5_patcher-----------
Forums > MaxMSP