aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/line-help.pd
blob: d56c262a476dbe24907cb0f8f5d616fae14eec59 (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
#N canvas 372 214 597 464 12;
#X floatatom 22 416 8 0 0 0 - - -;
#X msg 32 219 0 1000;
#X msg 47 241 39;
#X obj 66 15 line;
#X text 106 14 - ramp generator;
#X msg 23 196 1 1000;
#X text 22 38 The line object takes (target \, time) pairs and slews
to the specified target over the time given \, updating its output
at a "grain rate" given by the creation argument. If you don't specify
a time \, line jumps immediately to the target. Note that the inlet
does not remember old values (unlike every other inlet in Pd) -- sending
a float causes a jump in the output regardless of whatever time value
was specified in some previous message. If the line object receives
a message specifying some new target before reaching the previous one
\, it takes off from its current value.;
#X text 94 208 send a pair to ramp to a new value;
#X text 97 243 send a single number to jump;
#X text 106 443 see also:;
#X obj 176 440 line~;
#X msg 58 266 stop;
#X text 103 268 "stop" message to stop output;
#X obj 22 390 line 0 100;
#X text 122 396 creation arguments:;
#X text 271 388 1 initial value;
#X msg 52 296 set 5;
#X text 105 296 "set" to change value (and stop) without output;
#X text 394 441 updated for Pd version 0.43;
#X obj 222 440 vline~;
#X floatatom 91 352 0 0 0 0 - - -;
#X floatatom 91 328 0 0 0 0 - - -;
#X text 126 328 first inlet sets next ramp time (cleared when ramp
starts!);
#X text 125 354 second inlet sets grain (not cleared \, acts as normal
inlet);
#X text 270 404 2 time grain in milliseconds (20 by default);
#X connect 1 0 13 0;
#X connect 2 0 13 0;
#X connect 5 0 13 0;
#X connect 11 0 13 0;
#X connect 13 0 0 0;
#X connect 16 0 13 0;
#X connect 20 0 13 2;
#X connect 21 0 13 1;