Forums > MaxMSP

trigger regions from ramping values

August 16, 2008 | 1:59 pm

Can anyone suggest a more elegant solution than this….

Using a linear position sensor I wish to create ‘trigger regions’ as follows: if value is in one specific range, trigger a discrete bang; if value is in another range trigger a different discrete bang (without triggering the other). The problem is that, to attain a high range, a lower range must be passed through on the way; this is partially solved with ‘change’ ‘pipe’ and ‘gate’ objects…

self-explanatory patch attached


August 17, 2008 | 2:26 pm

Is this what you mean?


– Pasted Max Patch, click to expand. –
August 17, 2008 | 3:26 pm

Luke skrev:
> Is this what you mean?
> lh
> ———-begin_max5_patcher———-
As far as I can tell this one can’t transition from say the first zone to
the last zone without triggering the zones inbetween, can it?


This post seems to contain a broken pasted patch. This can happen if you don’t copy the entire "———-begin_max5_patcher———-" or "———–end_max5_patcher———–" for each and every patch you paste; perhaps you missed a preceding or trailing "-" when you copied the patch? Please notify the Cycling 74 web team if you think it is a bug.

August 17, 2008 | 11:34 pm

Ah apologies I misunderstood the problem. Your method is much more successful.


Viewing 4 posts - 1 through 4 (of 4 total)