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

Mar 26, 2013 at 9:28pm

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

hi
so i want to output different values using the live.menu.. 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 live.menu
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.

#67355
Mar 26, 2013 at 9:41pm

For a few values I might use select, like:

– Pasted Max Patch, click to expand. –

coll is a tidier solution, but maybe overkill for this:

– Pasted Max Patch, click to expand. –
#242340
Mar 26, 2013 at 10:13pm

Similar to the coll solution above, how about using [zl lookup]

– Pasted Max Patch, click to expand. –
#242341
Mar 26, 2013 at 10:26pm

Thank you!!! :)

#242342

You must be logged in to reply to this topic.