#N canvas -1 49 655 444 12;
#X text 406 383 updated for Pd version 0.25;
#X text 42 383 see also:;
#X obj 66 15 poly;
#X text 101 14 - MIDI-STYLE POLYPHONIC VOICE ALLOCATOR;
#X text 12 42 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 110 384 route;
#X obj 154 384 makenote;
#X obj 52 254 poly 4 1;
#X text 134 253 <-- first argument \, number of voices \; second argument
selects voice stealing;
#X msg 52 168 60 64;
#X msg 103 168 60 0;
#X msg 147 168 62 64;
#X msg 194 168 62 0;
#X obj 52 280 pack 0 0 0;
#X obj 52 306 print;
#X text 97 305 Output is in the printout window.;
#X msg 254 177 stop;
#X msg 296 177 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;
