Forums > MaxMSP

Poly~ question?

July 17, 2006 | 12:36 pm

I am creating a samplesequencer in a 4 track 16 step format. The goal is loading 1 sample into a buffer and have each track sequence bits of the buffer at variable speeds.

The part where each track reads a part of the buffer and plays it back following the stepsequencer is finished. There’s control for the start time and end time, but I only have one start time and one end time for each track.

How do I get each of my 4 voices to react on it’s own start and end time?

I hope I’m clear enough, thank you!

(the folder in the zip contains 3 files, the sequencer subpatch, the poly~ subpatch and the main sequencer(draft))


July 17, 2006 | 1:10 pm

well this forum dosen’t except attachments…

and you are not to clear, but i think you should be able to do what you want with the target message… another possibility would be to just use one poly~ per track of the sequencer…


July 17, 2006 | 1:17 pm

Is it possible to multiply the outputs of four poly~ objects, using [*]??

Won’t I have the same problem then?


July 17, 2006 | 1:25 pm

the patch:

"save as ‘AJseqengine1′ :

max v2;
#N vpatcher 283 134 883 534;
#P window setfont "Sans Serif" 9.;
#P newex 455 239 30 196617 t b b;
#P message 475 261 51 196617 getrow 0;
#N counter 15;
#X flags 0 0;
#P newobj 183 200 66 196617 counter 15;
#P message 272 279 153 196617 1 0 0 1 0 1 1 1 1 1 1 0 0 0 0 0;
#N vtable 16 374 535 585 663 979700 2;
#P newobj 272 327 32 196617 table;
#P newex 272 256 62 196617 prepend set;
#P newex 150 288 52 196617 listfunnel;
#P inlet 272 236 15 0;
#N comlet metro input;
#P inlet 183 180 15 0;
#N comlet direction;
#P inlet 197 180 15 0;
#P inlet 455 219 15 0;
#P outlet 183 222 15 0;
#N comlet sequence output;
#P outlet 272 349 15 0;
#P outlet 475 281 15 0;
#P connect 10 0 7 0;
#P connect 5 0 11 0;
#P connect 11 0 2 0;
#P connect 4 0 11 1;
#P connect 6 0 8 0;
#P connect 13 0 10 0;
#P connect 8 0 10 0;
#P connect 7 0 9 0;
#P connect 11 0 9 0;
#P connect 9 0 1 0;
#P connect 3 0 13 0;
#P connect 13 1 12 0;
#P connect 12 0 0 0;
#P pop;

"save as ‘AJsemplevoice’ :

max v2;
#N vpatcher 0 44 1280 850;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#N in 4;
#P newobj 547 348 25 196617 in 4;
#P newex 357 306 46 196617 select 1;
#N in 1;
#P newobj 357 280 25 196617 in 1;
#P newex 535 579 52 196617 thispoly~;
#N out~ 1;
#P newobj 490 579 39 196617 out~ 1;
#N out 1;
#P newobj 667 481 33 196617 out 1;
#P number 667 456 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 589 412 105 196617 info~ bron;
#P comment 647 504 100 196617 lenghth sample (ms);
#P button 398 346 15 0;
#N in 3;
#P newobj 518 348 25 196617 in 3;
#N in 2;
#P newobj 490 348 25 196617 in 2;
#P newex 549 412 27 196617 int;
#P newex 490 442 48 196617 pack i i i;
#P newex 520 412 27 196617 int;
#P newex 490 412 27 196617 int;
#P message 490 469 56 196617 $1 , $2 $3;
#N in 5;
#P newobj 558 502 25 196617 in 5;
#P newex 490 494 32 196617 line~;
#P newex 490 550 27 196617 *~;
#P flonum 558 525 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 490 522 58 196617 play~ bron;
#P comment 598 525 26 196617 amp;
#P connect 20 0 21 0;
#P connect 21 0 13 0;
#P connect 13 0 7 0;
#P connect 7 0 9 0;
#P connect 9 0 6 0;
#P connect 6 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 18 0;
#P connect 11 0 7 1;
#P connect 2 0 3 1;
#P connect 8 0 9 1;
#P connect 13 0 8 0;
#P connect 10 0 9 2;
#P fasten 3 0 19 0 495 574 540 574;
#P connect 12 0 8 1;
#P connect 13 0 10 0;
#P connect 5 0 2 0;
#P connect 22 0 10 1;
#P connect 13 0 15 0;
#P connect 15 6 16 0;
#P connect 16 0 17 0;
#P pop;

"the main patch :

max v2;
#N vpatcher 0 44 1280 850;
#P window setfont "Sans Serif" 9.;
#P message 267 539 35 196617 write;
#P message 232 539 30 196617 read;
#N vpreset 1;
#X append 1 2 3 340 728 matrixctrl list 0 0 0 1 0 0 2 0 1 3 0 0 4 0 0 5 0 1 6 0 1 7 0 0 8 0 0 9 0 1 10 0 0 11 0;
#X append 1 2 0 12 0 0 13 0 0 14 0 0 15 0 0 ; 4 341 610 umenu int 0 ; 6 117 523 toggle int 0 ; 8 95 674 number int 116 ; 9 56 619 hslider int;
#X append 1 2 96 ; 24 325 728 hslider int 10 ; 26 325 989 toggle int 0 ; 28 377 728 matrixctrl list 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 1 6;
#X append 1 2 0 0 7 0 0 8 0 0 9 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 ; 29 378 610 umenu int 0 ; 30 362 728;
#X append 1 2 hslider int 10 ; 31 362 989 toggle int 0 ; 33 414 728 matrixctrl list 0 0 1 1 0 1 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0;
#X append 1 2 8 0 0 9 0 0 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 ; 34 415 610 umenu int 0 ; 35 399 728 hslider int 10 ; 36 399 989;
#X append 1 2 toggle int 1 ; 38 451 728 matrixctrl list 0 0 0 1 0 1 2 0 1 3 0 1 4 0 1 5 0 0 6 0 1 7 0 1 8 0 0 9 0 1 10;
#X append 1 2 0 0 11 0 0 12 0 0 13 0 0 14 0 1 15 0 1 ; 39 452 610 umenu int 0 ; 40 436 728 hslider int 6 ; 41 436 989 toggle int 1 ; 54 639 717;
#X append 1 2 flonum float 0.8 ; 55 624 888 number int 128 ; 56 624 930 number int 1870 ; 58 624 970 number int 1742 ; 69 659 407 number int 1870 ;;
#P preset 232 574 111 19;
#P number 407 659 89 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Euphemia UCAS Bold" 12.;
#P window linecount 2;
#P comment 424 624 50 -824180724 sample length;
#P comment 930 590 50 -824180724 end time;
#P window linecount 1;
#P comment 717 620 50 -824180724 amp;
#P window linecount 2;
#P comment 885 590 50 -824180724 start time;
#P window linecount 1;
#P comment 968 643 50 -824180724 length;
#P window setfont "Sans Serif" 9.;
#P message 572 700 30 196617 open;
#P hidden message 930 646 44 196617 max $1;
#P hidden message 888 647 41 196617 min $1;
#P hidden newex 970 601 23 196617 abs;
#P hidden button 868 624 15 0;
#P number 970 624 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 970 578 27 196617 -;
#P number 930 624 35 9 194 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 888 624 35 9 0 237 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 717 639 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user ezdac~ 613 715 657 748 0;
#P hidden comment 514 661 121 196617 4 maximum end time;
#P hidden comment 514 646 121 196617 3 minimum start time;
#P hidden comment 514 630 121 196617 2 original samplelength;
#P hidden comment 515 574 88 196617 4 amp;
#P hidden comment 515 559 88 196617 3 end time;
#P hidden comment 515 544 88 196617 2 start time;
#P message 432 574 43 196617 replace;
#P message 400 574 30 196617 read;
#P newex 416 599 67 196617 buffer~ bron;
#P newex 613 685 115 196617 poly~ AJsemplevoice 4;
#N vpatcher 283 134 883 534;
#P window setfont "Sans Serif" 9.;
#P hidden newex 455 239 30 196617 t b b;
#P hidden message 475 261 51 196617 getrow 0;
#N counter 15;
#X flags 0 0;
#P hidden newobj 183 200 66 196617 counter 15;
#P hidden message 272 279 153 196617 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0;
#N vtable 16 374 535 585 663 979700 2;
#P hidden newobj 272 327 32 196617 table;
#P hidden newex 272 256 62 196617 prepend set;
#P hidden newex 150 288 52 196617 listfunnel;
#P inlet 272 236 15 0;
#N comlet metro input;
#P inlet 183 180 15 0;
#N comlet direction;
#P inlet 197 180 15 0;
#P inlet 455 219 15 0;
#P outlet 183 222 15 0;
#N comlet sequence output;
#P outlet 272 349 15 0;
#P outlet 475 281 15 0;
#P hidden connect 10 0 7 0;
#P connect 5 0 11 0;
#P connect 11 0 2 0;
#P connect 4 0 11 1;
#P connect 6 0 8 0;
#P connect 13 0 10 0;
#P hidden connect 8 0 10 0;
#P hidden connect 7 0 9 0;
#P connect 11 0 9 0;
#P connect 9 0 1 0;
#P connect 3 0 13 0;
#P hidden connect 13 1 12 0;
#P connect 12 0 0 0;
#P pop;
#P hidden newobj 516 448 76 196617 p ajseqengine1;
#P toggle 989 436 34 0;
#P user hslider 728 436 11 243 16 1 0 0;
#P user umenu 610 452 115 196647 1 32 468 1;
#X add forward;
#X add backward;
#X add forward&backward;
#P user matrixctrl 728 451 259 18 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 259 18 16 16 16 1 16 16 1 1 48 2 5120 0;
#N vpatcher 283 134 883 534;
#P window setfont "Sans Serif" 9.;
#P hidden newex 455 239 30 196617 t b b;
#P hidden message 475 261 51 196617 getrow 0;
#N counter 15;
#X flags 0 0;
#P hidden newobj 183 200 66 196617 counter 15;
#P hidden message 272 279 153 196617 0 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1;
#N vtable 16 374 535 585 663 979700 2;
#P hidden newobj 272 327 32 196617 table;
#P hidden newex 272 256 62 196617 prepend set;
#P hidden newex 150 288 52 196617 listfunnel;
#P inlet 272 236 15 0;
#N comlet metro input;
#P inlet 183 180 15 0;
#N comlet direction;
#P inlet 197 180 15 0;
#P inlet 455 219 15 0;
#P outlet 183 222 15 0;
#N comlet sequence output;
#P outlet 272 349 15 0;
#P outlet 475 281 15 0;
#P hidden connect 10 0 7 0;
#P connect 5 0 11 0;
#P connect 11 0 2 0;
#P connect 4 0 11 1;
#P connect 6 0 8 0;
#P hidden connect 8 0 10 0;
#P connect 13 0 10 0;
#P connect 11 0 9 0;
#P hidden connect 7 0 9 0;
#P connect 9 0 1 0;
#P connect 3 0 13 0;
#P hidden connect 13 1 12 0;
#P connect 12 0 0 0;
#P pop;
#P hidden newobj 516 411 76 196617 p ajseqengine1;
#P toggle 989 399 34 0;
#P user hslider 728 399 11 243 16 1 0 0;
#P user umenu 610 415 115 196647 1 32 431 1;
#X add forward;
#X add backward;
#X add forward&backward;
#P user matrixctrl 728 414 259 18 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 259 18 16 16 16 1 16 16 1 1 48 2 5120 0;
#N vpatcher 283 134 883 534;
#P window setfont "Sans Serif" 9.;
#P hidden newex 455 239 30 196617 t b b;
#P hidden message 475 261 51 196617 getrow 0;
#N counter 15;
#X flags 0 0;
#P hidden newobj 183 200 66 196617 counter 15;
#P hidden message 272 279 153 196617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0;
#N vtable 16 374 535 585 663 979700 2;
#P hidden newobj 272 327 32 196617 table;
#P hidden newex 272 256 62 196617 prepend set;
#P hidden newex 150 288 52 196617 listfunnel;
#P inlet 272 236 15 0;
#N comlet metro input;
#P inlet 183 180 15 0;
#N comlet direction;
#P inlet 197 180 15 0;
#P inlet 455 219 15 0;
#P outlet 183 222 15 0;
#N comlet sequence output;
#P outlet 272 349 15 0;
#P outlet 475 281 15 0;
#P hidden connect 10 0 7 0;
#P connect 5 0 11 0;
#P connect 11 0 2 0;
#P connect 4 0 11 1;
#P connect 6 0 8 0;
#P connect 13 0 10 0;
#P hidden connect 8 0 10 0;
#P hidden connect 7 0 9 0;
#P connect 11 0 9 0;
#P connect 9 0 1 0;
#P connect 3 0 13 0;
#P hidden connect 13 1 12 0;
#P connect 12 0 0 0;
#P pop;
#P hidden newobj 516 374 76 196617 p ajseqengine1;
#P toggle 989 362 34 0;
#P user hslider 728 362 11 243 16 1 0 0;
#P user umenu 610 378 115 196647 1 32 394 1;
#X add forward;
#X add backward;
#X add forward&backward;
#P user matrixctrl 728 377 259 18 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 259 18 16 16 16 1 16 16 1 1 48 2 5120 0;
#N vpatcher 283 134 883 534;
#P window setfont "Sans Serif" 9.;
#P newex 455 239 30 196617 t b b;
#P message 475 261 51 196617 getrow 0;
#N counter 15;
#X flags 0 0;
#P newobj 183 200 66 196617 counter 15;
#P message 272 279 153 196617 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0;
#N vtable 16 374 535 585 663 979700 2;
#P newobj 272 327 32 196617 table;
#P newex 272 256 62 196617 prepend set;
#P newex 150 288 52 196617 listfunnel;
#P inlet 272 236 15 0;
#N comlet metro input;
#P inlet 183 180 15 0;
#N comlet direction;
#P inlet 197 180 15 0;
#P inlet 455 219 15 0;
#P outlet 183 222 15 0;
#N comlet sequence output;
#P outlet 272 349 15 0;
#P outlet 475 281 15 0;
#P connect 10 0 7 0;
#P connect 5 0 11 0;
#P connect 11 0 2 0;
#P connect 4 0 11 1;
#P connect 6 0 8 0;
#P connect 8 0 10 0;
#P connect 13 0 10 0;
#P connect 11 0 9 0;
#P connect 7 0 9 0;
#P connect 9 0 1 0;
#P connect 3 0 13 0;
#P connect 13 1 12 0;
#P connect 12 0 0 0;
#P pop 1;
#P newobj 516 337 76 196617 p ajseqengine1;
#P toggle 989 325 34 0;
#P hidden button 439 274 15 0;
#P user hslider 728 325 11 243 16 1 0 0;
#P window setfont "Euphemia UCAS Bold" 12.;
#P comment 866 154 50 -824180724 Length;
#P window setfont "Sans Serif" 9.;
#P message 854 175 16 196617 8;
#P message 871 175 18 196617 16;
#P message 890 175 19 196617 24;
#P message 910 175 20 196617 32;
#P window setfont "Euphemia UCAS Bold" 12.;
#P comment 724 109 152 -824180724 Devide BPM value by:;
#P window setfont "Sans Serif" 9.;
#P message 840 127 14 196617 8;
#P message 825 127 14 196617 7;
#P message 810 127 14 196617 6;
#P message 795 127 14 196617 5;
#P message 780 127 14 196617 4;
#P message 765 127 14 196617 3;
#P message 750 127 14 196617 2;
#P message 735 127 14 196617 1;
#P user hslider 619 56 18 128 381 1 20 0;
#P number 674 95 35 9 20 400 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 660 195 53 196617 tempo;
#P toggle 523 117 15 0;
#P window setfont "Euphemia UCAS Bold" 12.;
#P comment 595 78 198 -824180724 20 BPM 400 BPM;
#P window setfont "Sans Serif" 9.;
#P user umenu 610 341 115 196647 1 32 357 1;
#X add forward;
#X add backward;
#X add forward&backward;
#P user matrixctrl 728 340 259 18 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 259 18 16 16 16 1 16 16 1 1 48 2 5120 0;
#P hidden comment 515 529 88 196617 1 trigger (1/0);
#P hidden comment 514 614 46 196617 1 signal;
#P comment 237 564 100 196617 1 2 3 4 5 6 7 8 9 10;
#P hidden connect 71 0 70 0;
#P hidden connect 72 0 70 0;
#P hidden connect 43 1 69 0;
#P connect 46 0 44 0;
#P connect 45 0 44 0;
#P hidden connect 7 0 25 0;
#P hidden connect 25 0 27 0;
#P hidden connect 25 0 32 0;
#P hidden connect 25 0 37 0;
#P hidden connect 25 0 42 0;
#P hidden connect 4 0 27 1;
#P hidden connect 29 0 32 1;
#P hidden connect 34 0 37 1;
#P hidden connect 39 0 42 1;
#P hidden connect 3 1 27 2;
#P hidden connect 28 1 32 2;
#P hidden connect 33 1 37 2;
#P hidden connect 38 1 42 2;
#P hidden connect 3 0 27 3;
#P hidden connect 28 0 32 3;
#P hidden connect 33 0 37 3;
#P hidden connect 38 0 42 3;
#P hidden connect 37 1 43 0;
#P hidden connect 27 1 43 0;
#P hidden connect 32 1 43 0;
#P hidden connect 42 1 43 0;
#P connect 43 0 53 0;
#P connect 63 0 53 0;
#P hidden connect 55 0 43 1;
#P connect 43 0 53 1;
#P connect 6 0 7 0;
#P hidden connect 56 0 43 2;
#P connect 9 0 8 0;
#P connect 8 0 7 1;
#P connect 10 0 7 2;
#P connect 11 0 7 2;
#P connect 12 0 7 2;
#P connect 14 0 7 2;
#P connect 15 0 7 2;
#P connect 16 0 7 2;
#P connect 17 0 7 2;
#P hidden connect 58 0 43 3;
#P connect 22 0 7 3;
#P connect 21 0 7 3;
#P connect 20 0 7 3;
#P connect 19 0 7 3;
#P connect 54 0 43 4;
#P hidden connect 27 0 24 0;
#P hidden connect 27 2 3 0;
#P hidden connect 32 0 30 0;
#P hidden connect 32 2 28 0;
#P hidden connect 37 0 35 0;
#P hidden connect 37 2 33 0;
#P hidden connect 42 0 40 0;
#P hidden connect 42 2 38 0;
#P hidden connect 55 0 59 0;
#P hidden fasten 62 0 55 0 935 695 846 695 846 581 893 581;
#P hidden connect 55 0 61 0;
#P hidden fasten 61 0 56 0 893 718 1057 718 1057 598 935 598;
#P hidden connect 59 0 56 0;
#P hidden connect 56 0 62 0;
#P hidden connect 56 0 57 0;
#P hidden connect 57 0 60 0;
#P hidden connect 60 0 58 0;
#P hidden connect 55 0 57 1;
#P hidden connect 27 1 26 0;
#P hidden connect 32 1 31 0;
#P hidden connect 37 1 36 0;
#P hidden connect 42 1 41 0;
#P pop;


August 7, 2006 | 9:33 pm

Well, the patch is completely different and in the process I learned enough to start and rebuild it with some planning ahead and structure!

I have a feeling I still don’t know what is exactly happening in my use of the ‘poly~’ object.

Would anybody be friendly enough to explain how it works and how to properly use the poly~ object in a simplified and babystep kind of way?? I would be very gratefull..

ps. It’s not out of lazyness, I studied the help file, tutorials and additional documentation. It’s just a confusing subject and I haven’t found any discussion in which it was clarified.

Thanks!


August 8, 2006 | 12:42 pm

To give an example:

max v2;
#N vpatcher 371 373 971 773;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 307 327 52 196617 thispoly~;
#N out~ 1;
#P newobj 252 328 39 196617 out~ 1;
#N in 1;
#P newobj 244 62 25 196617 in 1;
#P newex 252 296 41 196617 *~ 0.5;
#P button 244 90 15 0;
#P newex 244 116 30 196617 t b b;
#P message 213 218 14 196617 0;
#P newex 244 193 27 196617 int;
#P button 272 142 15 0;
#P number 274 193 71 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 272 163 105 196617 info~ sample1;
#P newex 252 216 32 196617 line~;
#P button 244 142 15 0;
#P newex 252 271 75 196617 play~ sample1;
#P connect 2 1 7 0;
#P connect 11 0 9 0;
#P connect 9 0 8 0;
#P connect 8 0 1 0;
#P connect 1 0 6 0;
#P connect 7 0 2 0;
#P connect 6 0 2 0;
#P connect 2 0 0 0;
#P connect 0 0 10 0;
#P connect 10 0 12 0;
#P connect 3 6 6 1;
#P connect 8 1 5 0;
#P connect 5 0 3 0;
#P connect 3 6 4 0;
#P connect 4 0 2 1;
#P connect 10 0 13 0;
#P pop;

This is a patcher I made, it is supposed to be a voice within a poly~ patch, but it doesn’t work the way it should!? Could somebody fix it and/or explain what I should do?

Thanks!


August 10, 2006 | 10:19 am

Please? I am stuck for weeks now and I am running out of resources..

Thank you!


August 10, 2006 | 1:10 pm

/quote/ This is a patcher I made, it is supposed to be a voice within a poly~ patch, but it doesn’t work the way it should!? Could somebody fix it and/or explain what I should do?/quote/

Below is a modified version of your poly~ sample player. Thispoly~ is now connected to the line~ object just like in the "poly_using_mute" subpatch from Tutorial patch #21. In this case, using the line~ object to send messages to thispoly~ makes sense, because the line object directly controls the end of the event.

Important note: To trigger this poly~ properly from its parent patch you need to send it [bang]-[prepend note]-[poly~].

Hope this helps,
Holland

max v2;
#N vpatcher 550 371 1150 771;
#P origin 0 -13;
#P window setfont Times 10.;
#P window linecount 3;
#P comment 387 326 84 1310730 ? when the line~ ends , mute the patch and free it.;
#P window setfont "Fixedwidth Serif" 10.;
#P window linecount 1;
#P message 364 296 62 1441802 mute 1 , 0;
#P message 453 300 63 1441802 mute 0 , 1;
#P newex 321 326 65 1441802 thispoly~;
#P window setfont Times 10.;
#P window linecount 4;
#P comment 461 247 84 1310730 ? when a note is received , unmute the subpatch and set it to busy.;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 246 207 50 196617 0 , $1 $1;
#N out~ 1;
#P newobj 252 341 39 196617 out~ 1;
#N in 1;
#P newobj 240 21 25 196617 in 1;
#P newex 252 309 41 196617 *~ 0.5;
#P newex 240 75 40 196617 t b b b;
#P newex 240 183 27 196617 int;
#P number 257 162 71 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 269 125 105 196617 info~ sample1;
#P newex 252 229 32 196617 line~;
#P newex 252 284 75 196617 play~ sample1;
#P comment 331 163 100 196617 length of sample;
#P comment 299 207 170 196617 play entire sample at original speed;
#P connect 9 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 11 0;
#P connect 11 0 3 0;
#P connect 3 0 2 0;
#P connect 2 0 8 0;
#P connect 8 0 10 0;
#P connect 4 6 5 0;
#P connect 5 0 6 1;
#P connect 7 1 4 0;
#P fasten 14 0 13 0 458 320 326 320;
#P fasten 15 0 13 0 369 314 326 314;
#P connect 3 1 15 0;
#P fasten 7 2 14 0 275 103 458 103;
#P pop;


August 10, 2006 | 1:35 pm

On 10-Aug-2006, at 12:19, alexander wrote:
> Please? I am stuck for weeks now and I am running out of resources..

First of all: poly~ is a pretty complex animal. There probably aren’t
many people who understand it in its full depth and glory; most
people get by with figuring out just enough for what they need. And
different people have different needs.

I’m looking at the example you sent the day before yesterday. You wrote
> This is a patcher I made, it is supposed to be a voice within a
> poly~ patch, but it doesn’t work the way it should!?

But you don’t tell us what it "should" do! We have to guess.

Presumably you have a global [buffer~ sample1] instantiated in the
mother patch and it looks like your poly~ is a non-transposing sample
player. Off-hand it looks like your poly~ should work. But I usually
use explicit mute/busy messages, so I may be overlooking something
obvious.

One other thing you may need to look at is how you’re filling your
buffer~. There are some snags you can run up against. Have you double-
clicked on the buffer~ window to check that the sample is properly
loaded?

– Peter

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de


August 10, 2006 | 2:51 pm

Thank you both!!

I’m getting there now. Holland, the patch you modified works perfectly!!

"Important note: To trigger this poly~ properly from its parent patch you need to send it [bang]-[prepend note]-[poly~]."

I included the [prepend note], but why is this so important, since it goes to a trigger? Has this something to do with [poly~] being a difficult object? ;)

Thanks again.


August 10, 2006 | 4:07 pm

On 10-Aug-2006, at 16:51, alexander wrote:
> I included the [prepend note], but why is this so important, since
> it goes to a trigger? Has this something to do with [poly~] being a
> difficult object? ;)

Sort of.

I’m not actually sure how poly~ responds to a bang. It’s not
documented in the MSP RefMan, but it does show up in the opt-ctrl-
click (alt-right click) popup menu. That menu never lies. So poly~
does something with the message. Whatever it does, it apparently
doesn’t simply pass the bang on to the first free instance.

The message ‘note bang’ does get passed on to the first free
instance, stripping the symbol ‘note’ off in the process, thus giving
you what you wanted.

Welcome to the Wonderful World of poly~.

– P.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de


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