/
sf-play~-help.pd
44 lines (44 loc) · 1.58 KB
/
sf-play~-help.pd
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
#N canvas 582 125 622 582 12;
#X msg 229 133 all;
#X text 61 18 sf-play~: Play "start" ms to "end" ms at a given rate
\, with trapezoidal envelope -- hjh;
#X obj 218 266 dac~;
#X obj 229 200 sf-play~ sfp 200;
#X msg 276 133 200 700 0.5;
#X text 276 79 start 200ms \; end 700ms \; rate 0.5 of normal;
#X msg 276 162 stop;
#X text 69 306 Inlets: \; 1 'all' \, or 'stop' \, or a float for start
time (ms) \, or a list 'start end rate' \, other messages forwarded
to play~ \; 2 float = end time (cold) \; 3 float = rate (cold) - 1
= normal speed \; 4 Envelope attack and release time (ms) \; 5 'symbol
tablename' - should also match soundfiler2 \; \; Outlets: \; 1 Audio
signal \; 2 bang when finished \; \; Arguments: \; 1 Table name (should
match a soundfiler2 instance) \; 2 Envelope A/R time \, default is
10 ms;
#X obj 65 79 monofile sfp computers.wav;
#X obj 338 225 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 162 138 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000 0 1;
#X msg 162 158 loop \$1;
#X msg 73 158 loopx 500;
#N canvas 0 0 450 300 loopx 0;
#X text 31 35 The loopx message is a shortcut for three messages to
cyclone/play~:;
#X msg 96 99 loopx 500;
#X obj 96 124 route loopx;
#X msg 96 149 loop 1 \, loopinterp 1 \, interptime \$1;
#X text 31 191 One message to set all of the relevant loop properties.
;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X restore 78 133 pd loopx;
#X connect 0 0 3 0;
#X connect 3 0 2 1;
#X connect 3 0 2 0;
#X connect 3 1 9 0;
#X connect 4 0 3 0;
#X connect 6 0 3 0;
#X connect 10 0 11 0;
#X connect 11 0 3 0;
#X connect 12 0 3 0;