#N canvas 473 88 573 394 12;
#X text 329 318 updated for Pd version 0.25;
#X text 51 323 see also:;
#X obj 69 16 poly;
#X text 33 49 The poly object takes a stream of pitch/velocity pairs
and outputs triples containing voice number \, pitch and velocity.
You can pack the output and use the route object to route messages
among a bank of voices depending on the first outlet. Poly can be configured
to do voice stealing or not (the default.);
#X obj 129 324 route;
#X obj 183 324 makenote;
#X obj 124 214 poly 4 1;
#X text 222 214 <-- first argument \, number of voices \; second argument
selects voice stealing;
#X msg 73 158 60 64;
#X msg 124 158 60 0;
#X msg 168 158 62 64;
#X msg 219 158 62 0;
#X obj 124 240 pack 0 0 0;
#X obj 124 266 print;
#X text 169 265 Output is in the printout window.;
#X msg 279 167 stop;
#X msg 323 167 clear;
#X text 108 15 - MIDI-style polyphonic voice allocator;
#X connect 6 0 12 0;
#X connect 6 1 12 1;
#X connect 6 2 12 2;
#X connect 8 0 6 0;
#X connect 9 0 6 0;
#X connect 10 0 6 0;
#X connect 11 0 6 0;
#X connect 12 0 13 0;
#X connect 15 0 6 0;
#X connect 16 0 6 0;
