-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharray_thing.pd
More file actions
30 lines (30 loc) · 931 Bytes
/
array_thing.pd
File metadata and controls
30 lines (30 loc) · 931 Bytes
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
#N canvas 280 71 486 491 10;
#N canvas 0 22 450 278 (subpatch) 0;
#X array arr 100 float 0;
#X coords 0 1 99 0 200 100 1 0 0;
#X restore 25 80 graph;
#X text 107 264 "set" message permits you to switch between arrays
;
#X text 142 394 creation argument initializes array name;
#X msg 45 328 0 44100;
#X msg 46 307 44100;
#X msg 45 287 bang;
#X text 99 285 "bang" or 0 plays whole sample;
#X text 101 306 play starting at 44100th sample;
#X text 112 326 play starting at beginning for 44100 samples;
#X msg 44 348 44100 1000;
#X text 122 347 play from 44100 through 45099 (1000 samples);
#X msg 44 370 stop;
#X text 83 369 stop playing (outputs zeros when stopped);
#X obj 31 445 outlet~;
#X obj 18 25 inlet;
#X msg 25 264 set arr;
#X obj 25 394 tabplay~ arr;
#X connect 3 0 16 0;
#X connect 4 0 16 0;
#X connect 5 0 16 0;
#X connect 9 0 16 0;
#X connect 11 0 16 0;
#X connect 14 0 16 0;
#X connect 15 0 16 0;
#X connect 16 0 13 0;