#N canvas 99 83 677 513 10;
#X declare -path .. -path .;
#X obj 39 480 bng 15 250 50 0 empty empty overflow 17 7 0 10 -262144
-1 -1;
#X obj 42 95 hsl 250 30 0 1 0 0 empty empty scrub -2 -8 0 10 -257985
-1 -1 21200 1;
#X obj 39 167 *;
#X text 161 264 attack sustain decay;
#X text 474 244 half window for one grain;
#X floatatom 112 223 5 0 0 0 - - -, f 5;
#X text 299 102 0...1;
#X obj 39 188 nbx 10 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 1.97297e+06 256;
#X obj 381 154 sample \$0-sample;
#X obj 39 415 list prepend \$0-sample;
#X obj 27 11 cnv 15 600 40 empty empty Universal_Polyphonic_Player
10 10 0 14 -233017 -66577 0;
#X floatatom 360 481 5 0 0 0 voices_active - -, f 5;
#X obj 511 262 wnd-sin \$0-wnd 1024;
#X obj 39 312 t a b;
#X text 510 103 to find voice patch;
#X obj 480 83 declare -path .. -path .;
#X obj 382 219 upp.ms2s;
#X text 137 187 position in buffer(smps);
#X text 155 222 change attack+decay (ms);
#X obj 39 265 pack 0 5000 0 5000;
#X obj 112 240 upp.ms2s;
#X text 125 374 azimuth elevation spread;
#N canvas 468 207 156 202 running 0;
#X obj 37 28 inlet;
#X obj 37 151 outlet;
#X obj 37 93 f;
#X obj 37 50 t b a;
#X obj 66 93 +;
#X obj 37 121 % 360;
#X connect 0 0 3 0;
#X connect 2 0 5 0;
#X connect 3 0 2 0;
#X connect 3 1 4 1;
#X connect 4 0 2 1;
#X connect 5 0 4 0;
#X connect 5 0 1 0;
#X restore 108 311 pd running angle;
#X floatatom 108 334 5 0 0 0 - - -, f 5;
#X obj 108 353 pack 0 0 0.5;
#X obj 39 375 list prepend;
#X text 377 310 Dolby-5.1 loudspeaker arrangement;
#X text 377 327 The order of speakers is defined in;
#X text 376 345 [vbap-5.1] as follows:;
#X text 378 363 1 Front-left \, 2 Front-right;
#X text 378 379 3 Rear-left \, 4 Rear-right \, 5 Center;
#X text 34 34 granular scrubbing with surround spatialization;
#X text 178 416 the sample name is also the tag;
#X text 526 15 grrrr.org \, 2016;
#X obj 490 432 out-multi \$0-bus 5;
#X obj 39 456 upp 20 spat-vbap vbap-5.1 \$0-bus syn-grain \$0-wnd 1024
;
#X msg 64 334 1;
#X text 144 333 azimuth in degrees;
#X connect 1 0 2 0;
#X connect 2 0 7 0;
#X connect 5 0 20 0;
#X connect 7 0 19 0;
#X connect 8 0 16 0;
#X connect 9 0 35 0;
#X connect 13 0 25 0;
#X connect 13 1 36 0;
#X connect 16 0 2 1;
#X connect 19 0 13 0;
#X connect 20 0 19 3;
#X connect 20 0 19 1;
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 24 0 25 1;
#X connect 25 0 9 0;
#X connect 35 0 0 0;
#X connect 35 2 11 0;
#X connect 36 0 22 0;
