blob: b8e1860056439c5b8eec6bf76c340bdb351118fc (
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
|
#N canvas 147 184 829 453 10;
#X declare -lib cyclone;
#X text 23 19 Report sample values from a signal;
#X floatatom 281 196 0 0 0 0 - - -;
#X msg 281 217 offset \$1;
#X obj 164 147 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 493 234 100;
#X msg 468 234 20;
#X obj 34 136 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 217 147 stop;
#X msg 182 147 start;
#X floatatom 39 319 0 0 0 0 - - -;
#X floatatom 468 255 0 0 0 0 - - -;
#X obj 64 139 cycle~ 440;
#X text 522 247 interval (for self-clocking);
#X text 466 190 change to a value above 0 for self-clocking reports
of signal values;
#X text 48 302 float signal value out;
#X text 178 304 Optional arguments set self-clocking interval (default
0--clock off) and sample offset within a vector (default 0).;
#X text 81 379 Snapshot~'s internal clock runs only when the audio
is on.;
#X text 154 116 turn clock on/off (by default \, the clock will be
on if a non-zero interval is supplied);
#X text 21 38 when it receives a bang \, snapshot~ outputs a value
from the most recent signal vector.;
#X text 301 150 change offset within vector of sample output. range
is from 0 (least recent \, default) to the signal vector size - 1 (most
recent);
#X obj 535 28 import cyclone;
#X obj 38 283 Snapshot~ 100;
#X text 23 119 trigger an output;
#X connect 1 0 2 0;
#X connect 2 0 21 0;
#X connect 3 0 21 0;
#X connect 4 0 10 0;
#X connect 5 0 10 0;
#X connect 6 0 21 0;
#X connect 7 0 21 0;
#X connect 8 0 21 0;
#X connect 10 0 21 1;
#X connect 11 0 21 0;
#X connect 21 0 9 0;
|