Forums > MaxMSP

Pattrstorage/message interpolate off

May 19, 2006 | 4:49 pm

Hello,

I try to send the message "interp nameobject off" to a pattrstorage to
take off the interpolate linear by default. The object, a matrixctrl
which i want to not be interpolate is in a bpatcher and his state
don’t change in the clientwindow meanwhile one in the patch directly is
abble to change is state when sending the same message (they don’t own
the same name). Each of them are connect to there own autopattr object
and are readable in the client window of the pattrstorage window. I
really need to change the state interpolate from linear to off because
matrix don’t keep the preset during interpolation which i need for the
one in the bpatcher.
I already send this issue maybe i wasn’t clear enough, hopefully it is
now.

Thanks for any advices.
Franck

Exemple below
max v2;
#N vpatcher 369 48 966 477;
#P user matrixctrl 319 289 130 66 MatrixDefaultCell.pct
MatrixDefaultBkgnd.pct 130 66 16 16 8 4 16 16 1 1 48 2 5120 0;
#P objectname matrixctrl2;
#P window setfont "Sans Serif" 9.;
#P number 26 262 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[1];
#P number 62 262 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number;
#P bpatcher 80 294 229 81 -3 -26 essaipattr 0;
#P objectname essaipattr;
#P newex 62 218 53 196617 autopattr;
#X prestore matrixctrl2 96 0 0 0 0 0 1 0 0 2 0 0 3 1 1 0 0 1 1 0 1 2 1
1 3 1 2 0 0 2 1 0 2 2 0 2 3 1 3 0 0 3;
#X prestore matrixctrl2 96 40 1 0 3 2 0 3 3 1 4 0 0 4 1 0 4 2 0 4 3 1 5
0 0 5 1 0 5 2 0 5 3 1 6 0 1 6 1 0 6 2;
#X prestore matrixctrl2 96 80 0 6 3 0 7 0 0 7 1 0 7 2 0 7 3 0;
#X prestore number 1 0 0;
#X prestore number[1] 1 0 0;
#P objectname u977000027;
#P message 238 103 42 196617 store 3;
#B color 2;
#P message 101 147 14 196617 3;
#B color 9;
#P message 82 147 14 196617 2;
#B color 9;
#P message 63 147 14 196617 1;
#B color 9;
#P message 190 103 42 196617 store 2;
#B color 2;
#P message 143 103 42 196617 store 1;
#B color 2;
#P newex 63 102 42 196617 r to_ps;
#P flonum 234 146 35 9 1. 2. 3 3 0 0 0 156 179 255 222 222 222 0 0 0;
#P newex 49 195 157 196617 pattrstorage essai @savemode 0;
#B color 5;
#X interp matrixctrl2 0 0.;
#X client_rect 374 600 1014 840;
#X storage_rect 10 59 650 299;
#P objectname essai;
#P message 167 40 110 196617 interp matrixctrl2 off;
#P message 403 40 102 196617 interp number linear;
#P message 299 40 89 196617 interp number off;
#P message 49 40 80 196617 interp tutu3 off;
#P connect 13 0 16 0;
#P fasten 6 0 4 0 68 123 54 123;
#P fasten 5 0 4 0 239 181 54 181;
#P fasten 7 0 4 0 148 123 54 123;
#P fasten 8 0 4 0 195 123 54 123;
#P fasten 10 0 4 0 87 173 54 173;
#P fasten 9 0 4 0 68 173 54 173;
#P fasten 11 0 4 0 106 173 54 173;
#P fasten 12 0 4 0 243 123 54 123;
#P fasten 3 0 4 0 172 97 54 97;
#P fasten 2 0 4 0 408 97 54 97;
#P fasten 1 0 4 0 304 97 54 97;
#P connect 0 0 4 0;
#P connect 13 0 15 0;
#P fasten 13 0 17 0 67 248 324 248;
#P pop;


May 19, 2006 | 5:29 pm

You need to send the patch which is in the bpatcher. Only the top-level
patch was sent.

jb


May 19, 2006 | 8:33 pm

thanks jb. I gave an alias to the object concern and it works now.
Franck


Viewing 3 posts - 1 through 3 (of 3 total)