hi<br><br>this kind of patch should work in the way you want...<br>with simple numbers and lists.<br><br>cheers<br><br>g<br><br>#P window setfont "Sans Serif" 9.;<br>#P window linecount 1;<br>#P message 148 52 14 196617 2;<br>
#P comment 250 236 100 196617 etc ...;<br>#P newex 219 233 29 196617 t 32;<br>#P message 97 49 34 196617 4 5 6;<br>#P newex 60 360 32 196617 print;<br>#P newex 188 233 29 196617 t 76;<br>#P newex 156 233 29 196617 t 43;<br>
#P newex 124 233 29 196617 t 23;<br>#P newex 92 233 29 196617 t 22;<br>#P newex 60 233 29 196617 t 10;<br>#P newex 60 90 265 196617 t l l;<br>#P newex 315 141 34 196617 zl len;<br>#P newex 60 324 265 196617 zl group;<br>#P newex 60 182 144 196617 sel 1 2 3 4 5 6 7 8 9 ...;<br>
#P newex 60 131 25 196617 iter;<br>#P message 49 52 34 196617 1 2 3;<br>#P comment 207 184 100 196617 etc ...;<br>#P connect 16 0 6 0;<br>#P connect 2 0 3 0;<br>#P connect 3 0 7 0;<br>#P connect 3 1 8 0;<br>#P connect 3 2 9 0;<br>
#P connect 3 3 10 0;<br>#P connect 3 4 11 0;<br>#P connect 3 5 14 0;<br>#P connect 14 0 4 0;<br>#P connect 13 0 6 0;<br>#P connect 4 0 12 0;<br>#P connect 11 0 4 0;<br>#P connect 10 0 4 0;<br>#P connect 9 0 4 0;<br>#P connect 8 0 4 0;<br>
#P connect 7 0 4 0;<br>#P connect 5 0 4 1;<br>#P connect 6 1 5 0;<br>#P connect 6 0 2 0;<br>#P connect 1 0 6 0;<br>#P window clipboard copycount 17;<br><br><br><div><span class="gmail_quote">2008/4/2, Peter Ostry <<a href="mailto:po@ostry.com">po@ostry.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> I want to do some number transformations:<br> 0 -> 16<br> 1 -> 0<br> 2 -> 256<br> <br> I tried with [if] but could not figure out how to nest statements. Table works of course but looks overdone for such a simple operation. I don't have many values. What is the usual way to map single numbers arbitrary? Multislider?<br>
<br> Second question:<br> What if I have three values like from a note and want to transform all three in some variations, like this:<br> 1 23 45 -> 2 4 76<br> 3 0 5 -> 1 0 8<br> <br> <br> <br> <br> _______________________________________________<br>
maxmsp mailing list<br> <a href="mailto:maxmsp@cycling74.com">maxmsp@cycling74.com</a><br> <a href="http://www.cycling74.com/mailman/listinfo/maxmsp">http://www.cycling74.com/mailman/listinfo/maxmsp</a><br> </blockquote>
</div><br>