aboutsummaryrefslogtreecommitdiff
path: root/tof/sample_play~-help.pd
blob: 894f334d98403bf5b8ddeffd32c239846ca5abcd (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
#N canvas 2245 349 553 386 10;
#X obj 61 317 dac~;
#X obj 57 73 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 71 94 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X floatatom 133 183 5 0 0 0 - - -;
#X text 13 -28 Description: Plays a sample;
#X text 14 -8 Tags: Sound Table Sample;
#X text 83 71 Inlet 1 \, bang: play sample once;
#X text 88 91 Inlet 1 \, float: stop/play sample in a loop;
#X text 178 146 Inlet 1 \, sample symbol: set sample;
#X msg 96 146 sample smppl;
#X text 96 328 Outlet 1 \, signal: left channel audio output;
#X text 97 316 Outlet 2 \, signal: right channel audio output;
#X obj 279 -12 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 279 12 tof/sample smppl amen.wav;
#X obj 207 247 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 170 180 set playback speed;
#X floatatom 190 203 5 0 0 0 - - -;
#X text 227 200 set duration (in ms);
#X obj 144 266 cyclone/Snapshot~ 100;
#X floatatom 145 288 5 0 0 0 - - -;
#X text 211 288 Outlet 3 \, signal: progress;
#X text 234 245 Outlet 4 \, bang: done;
#X text 150 117 Inlet 1 \, list: play a segment of the sample;
#X obj 59 229 tof/sample_play~ smppl;
#X msg 86 119 0.25 0.5;
#X connect 1 0 23 0;
#X connect 2 0 23 0;
#X connect 3 0 23 1;
#X connect 9 0 23 0;
#X connect 12 0 13 0;
#X connect 16 0 23 2;
#X connect 18 0 19 0;
#X connect 23 0 0 0;
#X connect 23 1 0 1;
#X connect 23 2 18 0;
#X connect 23 3 14 0;
#X connect 24 0 23 0;