blob: 156545959bd0545392326ccfe257f1beccb8254c (
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
|
#N canvas 328 280 738 369 10;
#X msg 400 210 resume;
#X msg 363 210 pause;
#X msg 356 174 stop;
#X text 15 35 Generate signal ramp or envelope;
#X obj 62 219 loadbang;
#X obj 62 241 metro 250;
#X floatatom 24 288 5 0 0 0 - - -;
#X obj 24 265 snapshot~;
#X obj 368 262 loadbang;
#X floatatom 330 331 5 0 0 0 - - -;
#X obj 330 308 snapshot~;
#X text 350 51 You can generate a ramp using a list of values \, set
and initial value \, then send a list of value and target time pairs.
;
#X text 83 85 a float on the left inlet sets immediately;
#X text 451 207 pause and resume the line generation;
#X text 387 172 stop the line generation and cancel all pending actions
;
#X text 88 189 argument sets the initial value;
#X msg 26 86 1;
#X msg 54 86 0;
#X msg 78 136 5000;
#X msg 163 222 bang;
#X text 111 134 sets the time for the next float;
#X text 112 149 sent to the left inlet;
#X text 493 137 it will take up to 64 value-time pairs;
#X msg 332 115 0 \, 1 1000;
#X obj 330 241 Line~ 0.5;
#X obj 26 189 Line~ 0.5;
#X text 16 13 Line~;
#X msg 348 138 0 \, 10 1000 0 1000 0.1 5000;
#X obj 368 284 metro 100;
#X connect 0 0 24 0;
#X connect 1 0 24 0;
#X connect 2 0 24 0;
#X connect 4 0 5 0;
#X connect 5 0 7 0;
#X connect 7 0 6 0;
#X connect 8 0 28 0;
#X connect 10 0 9 0;
#X connect 16 0 25 0;
#X connect 17 0 25 0;
#X connect 18 0 25 1;
#X connect 19 0 5 0;
#X connect 19 0 28 0;
#X connect 23 0 24 0;
#X connect 24 0 10 0;
#X connect 25 0 7 0;
#X connect 27 0 24 0;
#X connect 28 0 10 0;
|