#N canvas 561 30 489 447 12;
#X declare -path else;
#X obj 90 340 out~;
#X obj 258 33 declare -path else;
#X obj 73 220 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000;
#X obj 73 187 metro 1000;
#X obj 73 154 tgl 17 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000 0 1;
#X obj 319 373 grain.sampler~;
#X obj 316 195 else/sample~ \$0-sample violin.wav, f 12;
#X text 261 299 This example is the basis of the [grain.sampler~] object
from ELSE \, check its help file., f 26;
#X text 120 78 Here we adapt the last example to play grains from a
sample buffer. We now have a speed parameter that also affects the
pitch. For more details open the [clone] object to see how it works.
, f 43;
#X msg 73 249 all bang;
#X obj 203 219 tgl 18 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000 0 1;
#X msg 203 251 all \$1;
#X text 187 197 synchronous;
#X text 222 218 on/off;
#X obj 73 284 clone grain.sampler 16 \$0-sample, f 19;
#X connect 2 0 9 0;
#X connect 3 0 2 0;
#X connect 4 0 3 0;
#X connect 9 0 14 0;
#X connect 10 0 11 0;
#X connect 11 0 14 1;
#X connect 14 0 0 0;
#X connect 14 1 0 1;
