type of list object
Hi all,
new user (coming from the world of matlab) question. i've looked around for something like this with little success.
Is there a type of list object, that will output the list item on input of index number?
for instance if i have a message box with [1 3 5 7 9], and i hit it with '2', i would want it to output '3'. if hit with '5' it would output '9'.
My current (non-working) workaround is to use a text file to hold the list. It takes in 'line $1' messages. the problem is that the output is appended with a 'set' which supreses output after the immediate number box or slider. I need the output to be a pure number that can propagate further down the patch.
hope this makes sense.
thanks!
Try taking a look at [zl nth] and [zl mth]. When it comes to processing lists in Max, the zl objects are your best friend!
awesome. thank you both. yes i've looked at the zl nth reference file and tutorial patcher, but for whatever reason, what it does didnt' come across. Vanille your patch demonstrated this function beautifully and succinctly.
thanks again.