Frank Barknecht wrote:
Hallo,
Cesare Marilungo hat gesagt: // Cesare Marilungo wrote:

I understood that the name stands for 'not quite poly', but I wanted to know if somebody has tried to overcome this nqpoly4 limitation: as far as I've understood it, the abstraction created via nqpoly receive it's voice number as the first creation argument, but it's not possible to send a message from the calling patch to a specific voice.

This is possible. The additive synth bell example I posted shows one
way how to address each instance seperatly. You get the voice number
as first argument so you can do various things with it inside the
poly-abstraction.

Another example is attached, which is more traditional and is built
around [poly]. Both approaches don't use the voice allocation of
nqpoly4 at all: Nobody forces you to use it, and I generally don't use
it anyways.

Ciao

I missed that. But the attached patch does what I was trying to do.

Cool!

And much easier than I though. Of course, everything is easy if somebody with more experience show you how to do it.

Thanks.

Ciao,

c.

------------------------------------------------------------------------

#N canvas 441 361 419 206 10;
#X obj 227 75 inlet;
#X obj 273 75 inlet;
#X obj 226 114 outlet;
#X text 212 53 we don't need this;
#X obj 75 66 r \$3-notes;
#X obj 75 97 route \$1;
#X obj 75 131 print \$1_NOTE;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
------------------------------------------------------------------------

#N canvas 0 0 648 359 10;
#X obj 74 88 random 127;
#X msg 74 65 bang;
#X obj 74 113 makenote 80 1000;
#X obj 74 148 pack 0 0;
#X obj 74 178 poly 8;
#X obj 74 227 s \$0-notes;
#X obj 74 203 pack 0 0 0;
#X obj 157 179 nqpoly4 9 polytest \$0;
#X text 163 155 9 = 8 + 1! [poly] starts counting at 1 \, nqpoly doesn't!
;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 1 3 1;
#X connect 3 0 4 0;
#X connect 4 0 6 0;
#X connect 4 1 6 1;
#X connect 4 2 6 2;
#X connect 6 0 5 0;
------------------------------------------------------------------------

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


--
http://www.cesaremarilungo.com


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to