/usr/share/puredata/doc/5.reference/poly-help.pd is in puredata-core 0.45.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #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;
|