Bug in pp object?

Oct 13, 2006 at 8:40am

Bug in pp object?

Hello,

it seems that there is a bug in the Pluggo 3.6 “pp” object. The “pp”
object should output any change to the stored value, but it doesn’t.
This patch works perfect with Max 3.5.x and Pluggo 3.5.x…

Is this really a bug or am I doing something wrong?

Thanks
Jan

max v2;
#N vpatcher 187 121 787 521;
#P button 179 67 15 0;
#P window setfont “Sans Serif” 9.;
#P number 138 265 63 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#N pp 1 ModulatedParameter 0 128 value;
#P newobj 138 135 182 196617 pp 1 ModulatedParameter 0 128 value;
#P number 44 138 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 138 67 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P fasten 2 0 1 0 143 161 93 161 93 115 49 115;
#P fasten 4 0 2 0 184 106 143 106;
#P fasten 1 0 2 0 49 171 99 171 99 126 143 126;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P pop;

#28115
Oct 13, 2006 at 11:28am

My main problem is that “pp” only output the stored value by receiving a bang in the input!
Can anyone confirm this?

#85986
Oct 13, 2006 at 6:53pm

It’s not a bug but a feature introduced in max 4.6

Salvator

#85987
Oct 14, 2006 at 7:20am

On Oct 13, 2006, at 1:40 AM, Jan Thiele wrote:

> it seems that there is a bug in the Pluggo 3.6 “pp” object. The
> “pp” object should output any change to the stored value, but it
> doesn’t. This patch works perfect with Max 3.5.x and Pluggo 3.5.x…
>
> Is this really a bug or am I doing something wrong?

I was having the same difficulty until Tim Place got me sorted. [pp]
needed to be changed for host compatibility in some apps.

Now I’m operating as in the patch below.

Vlad

max v2;
#N vpatcher 187 121 998 531;
#P window setfont “Sans Serif” 9.;
#P number 415 245 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 457 247 100 196617 whatever operations you’re sending the
value to;
#P window linecount 1;
#P comment 314 76 102 196617 interface matrixctrl;
#P comment 26 168 88 196617 interface numbox;
#P message 618 107 14 196617 2;
#P message 602 107 14 196617 1;
#P message 702 107 14 196617 2;
#P message 686 107 14 196617 1;
#P comment 686 92 36 196617 recall;
#P comment 602 92 44 196617 capture;
#P message 686 187 49 196617 recall $1;
#P message 602 187 55 196617 capture $1;
#P message 686 271 62 196617 initialpgm 1;
#P message 686 219 80 196617 numprograms 2;
#P message 686 245 45 196617 autosize;
#N plugconfig;
#C useviews 1 1 1 1;
#C numprograms 2;
#C preempt 1;
#C sigvschange 1;
#C sigvsdefault 32;
#C autosize;
#C defaultview Interface 0 0 0;
#C dragscroll 1;
#C noinfo;
#C package ????;
#C setprogram 1 “Program 1″ 0 0.578125 1.;
#C setprogram 2 “Program 2″ 0 0.140625 0.;
#C uniqueid 128 120 27;
#C initialpgm 1;
#P newobj 602 306 55 196617 plugconfig;
#P message 350 245 40 196617 0 0 $1;
#P newex 294 107 67 196617 unpack 0 0 0;
#P user matrixctrl 294 75 18 18 MatrixDefaultCell.pct
MatrixDefaultBkgnd.pct 18 18 16 16 1 1 16 16 1 1 48 2 5120 0;
#N pp 2 ModulatedMatrixctrl 0 1 value;
#P newobj 397 187 170 196617 pp 2 ModulatedMatrixctrl 0 1 value;
#P number 350 187 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 350 219 54 196617 change -1;
#P number 26 245 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N pp 1 ModulatedParameter 0 128 value;
#P newobj 73 187 182 196617 pp 1 ModulatedParameter 0 128 value;
#P number 26 187 35 9 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 3;
#P comment 68 247 100 196617 whatever operations you’re sending the
value to;
#P connect 2 0 1 0;
#P connect 1 0 3 0;
#P connect 1 0 2 0;
#P fasten 9 0 7 0 355 276 271 276 271 63 299 63;
#P connect 7 0 8 0;
#P connect 8 2 5 0;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 9 0;
#P connect 5 0 6 0;
#P fasten 5 0 25 0 355 211 420 211;
#P connect 20 0 14 0;
#P connect 21 0 14 0;
#P connect 14 0 10 0;
#P connect 15 0 10 0;
#P connect 12 0 10 0;
#P connect 11 0 10 0;
#P connect 13 0 10 0;
#P connect 18 0 15 0;
#P connect 19 0 15 0;
#P pop;

Vlad Spears
Urbi et orbi

http://www.2secondfuse.com

#85988

You must be logged in to reply to this topic.