aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/line-help.pd
blob: f5d5ad38fb6c82d7b0773b373345a584a7f8d03c (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
#N canvas 31 15 669 403 12;
#X floatatom 22 339 0 0 0 0 - - -;
#X msg 31 205 0 1000;
#X msg 46 227 39;
#X obj 66 15 line;
#X text 106 14 - ramp generator;
#X msg 22 182 1 1000;
#X text 18 36 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 dont' 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 93 194 send a pair to ramp to a new value;
#X text 105 224 send a single number to jump;
#X text 46 363 see also:;
#X obj 132 361 line~;
#X msg 57 252 stop;
#X text 98 251 "stop" message to stop output;
#X obj 22 313 line 0 100;
#X text 383 369 updated for Pd version 0.37;
#X text 125 310 creation arguments:;
#X text 316 310 1 initial value;
#X text 318 330 2 time grain in milliseconds;
#X msg 51 282 set 5;
#X text 99 282 "set" to change value (and stop) without output;
#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 18 0 13 0;