using ctlin to control different elements from the same control numbers


    Feb 08 2006 | 6:36 pm
    I'm using [ctlin], [select] and [match] to control different processes based
    on the control number and/or the control value. Is there any way that when
    one controller number and value match given numbers, all the already
    specified values and numbers when selected and/or matched, control entirely
    different processes? Here's an example. How do get max to perform
    'function two' when ctlin matches 2 2 2? Also, it should be considered that
    these controllers are sensors. Thanks.
    max v2;

    • Feb 08 2006 | 8:26 pm
      Haven't had a chance to look at your patch in detail, but usually the
      best way to do this is to use separate ctlin objects. Then you don't
      have to do as much selection logic. ie define each possible
      controller/channel combination and use a separate ctlin for each one.
      Then you only need to select on controller value for your result.
      Hope that helps
      L
      Lawrence Casserley - lawrence@lcasserley.co.uk
      Lawrence Electronic Operations - www.lcasserley.co.uk
      Colourscape Music Festivals - www.colourscape.org.uk
    • Feb 08 2006 | 9:14 pm
      I'm sorry if i didn't explain myself well, but I need a way to get a
      different result out of the same selected numbers based on a different
      ctlin, i'm thinking in terms of a gate, bucket, or route?
    • Feb 08 2006 | 9:41 pm
      On 8 Feb, 2006, at 21:14, baby.squirrel wrote:
      > I'm sorry if i didn't explain myself well, but I need a way to get a
      > different result out of the same selected numbers based on a different
      > ctlin, i'm thinking in terms of a gate, bucket, or route?
      >
      OK - two strategies
      1 - use separate ctlins - select the numbers you want from each and use
      those to trigger different things.
      2 - use one ctlin - remember that the data will emerge R to L - ie
      first the MIDI channel, second the controller number, third the data.
      The first two are used to determine a value to gate, which determines
      where the data will go - is that what you want?
      Lawrence Casserley - lawrence@lcasserley.co.uk
      Lawrence Electronic Operations - www.lcasserley.co.uk
      Colourscape Music Festivals - www.colourscape.org.uk