trigger regions from ramping values

brendan mccloskey's icon

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

thanks

Luke Hall's icon

Is this what you mean?

lh

Max Patch
Copy patch and select New From Clipboard in Max.

Wetterberg's icon

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?

Andreas

Luke Hall's icon

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

lh