/
sf-startmsg-help.pd
42 lines (42 loc) · 1.46 KB
/
sf-startmsg-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
#N canvas 541 93 510 650 12;
#X declare -lib cyclone;
#X text 36 58 Given a start and end time within the array (in ms) \,
this object outputs a "start" list that you can feed to [cyclone/play~].
Assuming the array has been loaded by [soundfiler2] \, this will automatically
adapt the times according to the file's sample rate.;
#X text 37 451 Argument: An identifier for the [value] objects.;
#X text 36 569 Outlet: A "start" message.;
#X obj 39 212 soundfiler2 a1msg;
#X obj 174 212 array define a1msg;
#X msg 39 187 read -resize computers.wav a1msg;
#X obj 39 162 declare -lib cyclone;
#X text 280 187 <-- hit me first;
#X obj 227 256 hsl 128 15 0.25 4 1 0 empty empty rate -2 -8 0 10 -262144
-1 -1 0 1;
#X floatatom 224 276 5 0 0 0 - - -;
#X obj 124 308 pack 0 0 1;
#X obj 39 237 unpack 0 0;
#X obj 124 288 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 124 333 sf-startmsg a1msg;
#X obj 275 358 print;
#X obj 124 358 cyclone/play~ a1msg;
#X obj 124 383 *~ 0.25;
#X obj 124 408 dac~;
#X text 36 27 sf-startmsg: Produce a "start" message for [cyclone/play~]
;
#X text 36 478 Inlets: \; 1 Start in ms \, or a list of "start end
optional_rate" \; 2 End in ms \; 3 Rate (2 = 2x faster) \; 4 Symbol
(ID for array stats);
#X connect 3 0 11 0;
#X connect 5 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 10 2;
#X connect 10 0 13 0;
#X connect 11 1 10 1;
#X connect 12 0 10 0;
#X connect 13 0 14 0;
#X connect 13 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 16 0 17 1;