blob: e21c5c9c564dc3e74e05b431f19ff55c2f17119f (
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
|
#N canvas 411 72 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 330 241 line~ 0.5;
#X obj 26 189 line~ 0.5;
#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 obj 368 284 metro 250;
#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 488 137 it will take up to 64 value-time pairs;
#X msg 332 115 0 \, 1 1000;
#X msg 348 138 0 \, 0.5 500 2 500;
#X connect 0 0 4 0;
#X connect 1 0 4 0;
#X connect 2 0 4 0;
#X connect 4 0 13 0;
#X connect 5 0 9 0;
#X connect 6 0 7 0;
#X connect 7 0 9 0;
#X connect 9 0 8 0;
#X connect 10 0 11 0;
#X connect 11 0 13 0;
#X connect 13 0 12 0;
#X connect 19 0 5 0;
#X connect 20 0 5 0;
#X connect 21 0 5 1;
#X connect 22 0 7 0;
#X connect 22 0 11 0;
#X connect 26 0 4 0;
#X connect 27 0 4 0;
|