Forums > MaxMSP

poly~ I/Os confusion

February 19, 2006 | 12:59 pm

there is something i do not get to work.

could anyone please post me a working poly~ patcher
with:
3 message inlets,
3 signal inlets,
2 message outlets,
1 signal outlet
.


February 19, 2006 | 1:53 pm

interesting, seems you have discovered an inconsistency. Granted I haven’t really read the documentation on dis too much mon.

#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#N out~ 1;
#P newobj 206 210 42 9109516 out~ 1;
#N out 2;
#P newobj 160 210 35 9109516 out 2;
#N out 1;
#P newobj 123 210 35 9109516 out 1;
#N in~ 6;
#P newobj 273 53 35 9109516 in~ 6;
#N in~ 5;
#P newobj 234 53 35 9109516 in~ 5;
#N in~ 4;
#P newobj 194 53 35 9109516 in~ 4;
#N in 3;
#P newobj 157 53 28 9109516 in 3;
#N in 2;
#P newobj 127 53 28 9109516 in 2;
#N in 1;
#P newobj 95 53 28 9109516 in 1;
#P comment 164 129 100 9109516 insert pr0n here;
#P window clipboard copycount 10;


February 19, 2006 | 2:33 pm

>Granted I haven’t really read the documentation
>on dis too much mon.

> #P window setfont "Sans Serif" 12.;
> #P window linecount 1;

well yours won?t work because you made too many inlets. :P

to create one signal inlet + one message inlet one [in~]
is enough.

p.s. i wonder what happens to the email list when i just
edited my post.


February 19, 2006 | 4:10 pm

Is this what you want? – David

max v2;
#N vpatcher 10 59 164 239;
#P user ezdac~ 84 69 128 102 0;
#P window setfont "Sans Serif" 9.;
#P user number~ 5 105 44 120 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221
221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 5 23 47 196617 sig~ 0.5;
#P newex 67 142 41 196617 print 2;
#P newex 36 123 41 196617 print 1;
#P message 56 23 73 196617 i’m a message;
#P newex 5 84 73 196617 poly~ trample;
#P connect 4 0 0 0;
#P connect 1 0 0 0;
#P connect 0 0 5 0;
#P connect 4 0 0 1;
#P connect 1 0 0 1;
#P connect 0 1 2 0;
#P connect 4 0 0 2;
#P connect 1 0 0 2;
#P connect 0 2 3 0;
#P pop;

————–
save as: trample
————–

max v2;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#N out~ 1;
#P newobj 45 195 39 196617 out~ 1;
#N out 2;
#P newobj 137 195 33 196617 out 2;
#N out 1;
#P newobj 92 195 33 196617 out 1;
#N in 3;
#P newobj 293 75 25 196617 in 3;
#N in 2;
#P newobj 198 75 25 196617 in 2;
#N in 1;
#P newobj 105 73 25 196617 in 1;
#N in~ 2;
#P newobj 162 74 33 196617 in~ 2;
#N in~ 3;
#P newobj 256 74 33 196617 in~ 3;
#N in~ 1;
#P newobj 70 73 33 196617 in~ 1;
#P connect 1 0 8 0;
#P connect 2 0 8 0;
#P connect 0 0 8 0;
#P connect 3 0 6 0;
#P fasten 5 0 7 0 155 194;
#P connect 4 0 7 0;
#P pop;


February 19, 2006 | 5:14 pm

Quote: David Stanford wrote on Sun, 19 February 2006 09:10
—————————————————-
> Is this what you want? – David

jawohl sire, thanks.

in my patch i misspelled the index in one of the out
boxes, and i was not able to find the bug.


February 19, 2006 | 5:22 pm

or with separate inputs for the different types:

#P window setfont "Sans Serif" 9.;
#N out~ 1;
#P newobj 45 195 39 196617 out~ 1;
#N out 2;
#P newobj 137 195 33 196617 out 2;
#N out 1;
#P newobj 92 195 33 196617 out 1;
#N in 3;
#P newobj 293 75 25 196617 in 3;
#N in 2;
#P newobj 198 75 25 196617 in 2;
#N in 1;
#P newobj 105 73 25 196617 in 1;
#N in~ 2;
#P newobj 162 74 33 196617 in~ 2;
#N in~ 3;
#P newobj 256 74 33 196617 in~ 3;
#N in~ 1;
#P newobj 70 73 33 196617 in~ 1;
#P connect 1 0 8 0;
#P connect 2 0 8 0;
#P connect 0 0 8 0;
#P connect 3 0 6 0;
#P fasten 5 0 7 0 155 194;
#P connect 4 0 7 0;
#P pop;


February 19, 2006 | 5:54 pm

well that never worked for me (in 4.1), i am used
to use the combines ones (and it regulary causes
headache when you need many I/Os)


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