aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/play~.pd
blob: f94b787489c541054fb1e2c37c017bc82b03ce81 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#N canvas 145 50 540 532 10;
#X text 5 5 ;
#X text 28 491 docs based on the MAX/MSP reference (c) cycling'74
;
#X text 29 504 ___________________________________________________ ;
#X obj 39 168 table sample;
#X obj 39 94 openpanel;
#X msg 39 119 read -resize \$1 sample;
#X obj 39 144 soundfiler;
#X obj 39 69 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 65 70 load a sample;
#X floatatom 72 387 0 0 100 0 - - -;
#N canvas 159 26 532 285 output 0;
#X obj 338 160 t b;
#X obj 338 110 f;
#X obj 338 60 inlet;
#X text 344 29 mute;
#X obj 338 185 f;
#X msg 426 180 0;
#X msg 338 85 bang;
#X obj 338 135 moses 1;
#X obj 397 110 moses 1;
#X obj 83 148 dbtorms;
#X obj 397 85 r master-lvl;
#X obj 83 42 r master-lvl;
#X obj 338 210 s master-lvl;
#X obj 20 155 inlet~;
#X obj 199 41 inlet;
#X text 199 18 level;
#X obj 199 105 s master-lvl;
#X msg 96 65 set \$1;
#X obj 96 90 outlet;
#X msg 214 65 \; pd dsp 1;
#X obj 83 198 line~;
#X obj 20 207 *~;
#X obj 20 232 dac~;
#X obj 83 173 pack 0 50;
#X text 20 132 audio;
#X text 96 114 show level;
#X obj 426 155 t b;
#X obj 20 181 hip~ 1;
#X connect 0 0 4 0;
#X connect 1 0 7 0;
#X connect 2 0 6 0;
#X connect 4 0 12 0;
#X connect 5 0 12 0;
#X connect 6 0 1 0;
#X connect 7 0 0 0;
#X connect 7 1 26 0;
#X connect 8 1 4 1;
#X connect 9 0 23 0;
#X connect 10 0 1 1;
#X connect 10 0 8 0;
#X connect 11 0 9 0;
#X connect 11 0 17 0;
#X connect 13 0 27 0;
#X connect 14 0 16 0;
#X connect 14 0 19 0;
#X connect 17 0 18 0;
#X connect 20 0 21 1;
#X connect 21 0 22 0;
#X connect 21 0 22 1;
#X connect 23 0 20 0;
#X connect 26 0 5 0;
#X connect 27 0 21 0;
#X restore 43 411 pd output;
#X msg 101 387 MUTE;
#X msg 138 274 set sample;
#X text 219 277 change array;
#X text 148 31 position based sample playback;
#X obj 43 264 line~;
#X msg 43 230 0 \, 441 1000;
#X obj 43 354 play~ sample;
#X text 140 352 arg is an array;
#X text 140 364 if a second arg is given it's treated as a number;
#X text 140 376 of channels and play~ tries to load 0-sample ....;
#X text 139 387 to n-sample where n is the number of channels-1;
#X obj 36 30 play~ table 4;
#X msg 130 230 441 \, 0 1000;
#X text 43 213 forward;
#X text 137 209 backward;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 7 0 4 0;
#X connect 9 0 10 1;
#X connect 10 0 9 0;
#X connect 11 0 10 2;
#X connect 12 0 17 0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 17 0 10 0;
#X connect 23 0 15 0;