noob question how to convert values with so that 0=0 1=3 2=5 etc..

    Mar 26 2013 | 9:28 pm
    hi so i want to output different values using the The reason for this is because of a little quirk in the Sidstation i want to control. The wave settings are as follows
    midi value/waveform : 0=off 1=tri 2=saw 3=off 4=pulse 5=mix 6=off 7=off 8=noise
    I dont know why it is layed out this way, but I just want to make it possible to make a that gets rids of the 'off's in between. So the values that needs to be converted are 0=0=off 1=1=tri 2=2=saw 3=4=pulse 4=5=mix 5=8=noise
    so i basicly need to convert 3 to 4, 4 to 5 and 6 to 8 only how do I go about this? Srry for the noob question - but ive tried to look at various tutorials and in this forum and I just got in to max4live.

    • Mar 26 2013 | 9:41 pm
      For a few values I might use select, like:
      coll is a tidier solution, but maybe overkill for this:
    • Mar 26 2013 | 10:13 pm
      Similar to the coll solution above, how about using [zl lookup]
    • Mar 26 2013 | 10:26 pm
      Thank you!!! :)