#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 108 15 - MIDI-STYLE POLYPHONIC VOICE ALLOCATOR;
#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 connect 7 0 13 0;
#X connect 7 1 13 1;
#X connect 7 2 13 2;
#X connect 9 0 7 0;
#X connect 10 0 7 0;
#X connect 11 0 7 0;
#X connect 12 0 7 0;
#X connect 13 0 14 0;
#X connect 16 0 7 0;
#X connect 17 0 7 0;
