Forums > MaxMSP

mapper substitute

November 17, 2006 | 1:52 pm

I’m trying to make a substitute for Tristan Jehan’s
mapper object, pending it’s porting (I hope) to UB.
What I have below works as far as it goes, but I would
like it to generate a wider variety of curves, like
mapper does. In particular, I want to be able to
generate the ‘inverse’ of the curve. I guess it’s a
job for expr, but the maths is failing me.
( I imagine there is a Litter object that does exactly
this, but as the UB versions are not yet available for
non-pro users, I’ll have to be patient ;-)
cheers
Roger

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 340 73 24 196617 max;
#P newex 450 98 29 196617 t b f;
#P flonum 449 80 35 9 1. 0 1 3 0 0 0 221 221 221 222
222 222 0 0 0;
#P newex 220 224 46 196617 zl group;
#P user multiSlider 220 255 212 84 0. 1. 87 2681 15 0
0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 175 170 40 196617 t b i i;
#P newex 184 116 27 196617 t b i;
#P newex 175 149 27 196617 -;
#P newex 164 196 40 196617 uzi;
#P number 368 77 35 9 0 0 0 3 0 0 0 221 221 221 222
222 222 0 0 0;
#P number 368 53 35 9 0 0 0 3 0 0 0 221 221 221 222
222 222 0 0 0;
#P newex 348 125 111 196617 scale 0 127 0. 1. 1.03;
#P comment 412 81 36 196617 curve;
#P comment 339 55 24 196617 min;
#P fasten 12 0 5 0 455 120 456 121 169 121;
#P connect 11 0 12 0;
#P connect 12 1 2 5;
#P fasten 4 0 6 0 373 97 180 97;
#P connect 4 0 2 2;
#P fasten 3 0 7 0 373 95 189 95;
#P connect 3 0 2 1;
#P fasten 5 2 2 0 199 216 333 216 333 116 353 116;
#P connect 8 2 10 1;
#P connect 10 0 9 0;
#P fasten 2 0 10 0 353 195 225 195;
#P connect 8 1 5 1;
#P connect 7 1 6 1;
#P connect 6 0 8 0;
#P connect 7 0 6 0;
#P connect 8 0 5 0;
#P window clipboard copycount 14;


Viewing 1 post (of 1 total)