Forums > MaxMSP

problem with poly~


max
August 15, 2006 | 6:21 pm

hi everybody,
i would make a beat sampler,but i have a big problem with the poly~ object.when i trig many times,just one instance is working.
anybody could help me?
it’s my poly abstraction:

max v2;
#N vpatcher 0 44 1280 850;
#P origin 109 -44;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 298 407 47 196617 mute $1;
#P newex 278 375 21 196617 t 1;
#P newex 268 346 36 196617 edge~;
#P comment 361 341 417 196617 i make a poly patch but poly use only one instance and no active the others i don’t no why;
#P newex 125 44 40 196617 unpack;
#P newex 13 166 76 196617 t startloop 1 0;
#P newex 139 395 35 196617 *~ 1.;
#P newex 181 397 35 196617 *~ 1.;
#P user number~ 308 298 413 313 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 29 482 487 762;
#P origin 0 -30;
#P window setfont "Sans Serif" 9.;
#P flonum 194 146 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 24 145 66 196617 prepend loop;
#P newex 24 122 58 196617 r 2gvoloop;
#P newex 131 180 34 196617 line~;
#P newex 131 144 56 196617 pack 0. 10;
#P outlet 131 210 15 0;
#P newex 246 75 36 196617 t b -1;
#P newex 198 74 31 196617 t b 1;
#P newex 215 54 72 196617 sel 0 1;
#P newex 215 33 60 196617 r 2gvosens;
#P newex 131 106 125 196617 * 1.;
#P newex 131 53 62 196617 r 2gvopitch;
#P connect 9 0 10 0;
#P connect 4 0 1 0;
#P connect 5 0 1 0;
#P connect 0 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 8 0;
#P fasten 10 0 6 0 29 203 136 203;
#P connect 8 0 6 0;
#P connect 11 0 7 1;
#P connect 3 0 4 0;
#P connect 2 0 3 0;
#P connect 3 1 5 0;
#P connect 4 1 1 1;
#P connect 5 1 1 1;
#P pop;
#P newobj 139 123 52 196617 p pitch++;
#P newex 701 174 61 196617 r 2endpoint;
#P newex 451 152 69 196617 r 2startpoint;
#P newex 173 276 106 196617 trapezoid~ 0.01 0.95;
#N out~ 2;
#P newobj 192 437 39 196617 out~ 2;
#P newex 139 346 27 196617 *~;
#P newex 174 346 27 196617 *~;
#P newex 263 317 40 196617 ==~ 1.;
#P newex 13 132 41 196617 sel 1 0;
#P newex 13 108 50 196617 != 0;
#N in 2;
#P newobj 333 130 25 196617 in 2;
#P message 331 165 43 196617 loop $1;
#P newex 139 222 80 196617 groove~ 2snd 2;
#N out~ 1;
#P newobj 138 432 39 196617 out~ 1;
#N in 1;
#P newobj 135 21 50 196617 in 1;
#P comment -147 27 29 196617 freq;
#P toggle 338 497 15 0;
#P newex 305 450 50 196617 thispoly~;
#P window linecount 2;
#P comment 194 31 242 196617 i just use one note for trig (it’s a beat sampler) and the number midinote have not action on the pitch;
#P fasten 23 1 9 0 160 84 18 84;
#P connect 9 0 10 0;
#P connect 10 0 22 0;
#P connect 4 0 23 0;
#P connect 21 0 5 0;
#P fasten 22 0 6 0 18 202 144 202;
#P connect 18 0 6 0;
#P fasten 7 0 6 0 336 186 144 186;
#P connect 6 0 13 0;
#P connect 13 0 21 0;
#P connect 15 0 13 1;
#P fasten 22 1 21 1 51 386 169 386;
#P connect 6 2 15 0;
#P fasten 16 0 6 1 456 195 179 195;
#P connect 6 1 12 0;
#P connect 12 0 20 0;
#P connect 15 0 12 1;
#P connect 20 0 14 0;
#P fasten 22 1 20 1 51 385 211 385;
#P fasten 17 0 6 2 706 226 214 226;
#P connect 6 2 11 0;
#P connect 11 0 25 0;
#P connect 25 0 26 0;
#P connect 26 0 27 0;
#P connect 22 2 27 0;
#P connect 27 0 1 0;
#P connect 6 2 19 0;
#P connect 8 0 7 0;
#P connect 1 1 2 0;
#P pop;


August 16, 2006 | 9:23 am

how are you triggering the poly ?

Do you use the target message or the note/midinote messages ?

in either case, enabling steal mode might help, if not, try posting the wrapper patch for the poly, so we can see what is going on outside…

you should also send the outgoing signal to thispoly to set the busy state.


August 17, 2006 | 8:39 am

max wrote:
> hi everybody, i would make a beat sampler,but i have a big problem
> with the poly~ object.when i trig many times,just one instance is
> working. anybody could help me? it’s my poly abstraction:

You do mute the voice, but did not care about the busy state. If you
adress the voice with a note message it would assume the first voice ist
still not busy and thus play always the same voice…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


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