File: list-emath-help.pd

package info (click to toggle)
pd-list-abs 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 756 kB
  • sloc: makefile: 289
file content (49 lines) | stat: -rw-r--r-- 1,517 bytes parent folder | download | duplicates (3)
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
#N canvas 0 26 538 413 10;
#X obj 87 209 print add;
#X msg 87 138 5 5 5 5 x;
#X text 79 22 list-emath: Do math on lists element by element;
#X msg 350 141 0 1 2 3 4;
#X msg 271 140 5 5 5 5 x;
#X msg 88 256 5 5 5 5 x;
#X msg 269 262 5 5 5 5 x;
#X obj 271 211 print mult;
#X obj 88 327 print sub;
#X obj 269 333 print div;
#X obj 269 294 list-emath /;
#X obj 87 171 list-emath +;
#X obj 271 173 list-emath *;
#X obj 88 289 list-emath -;
#X msg 348 263 0 1 x 3 4;
#X msg 167 257 0 1 2 x 4;
#X msg 166 139 0 1 2 x 4;
#X text 80 55 Non-floats in second list will be replaced by 0 for +
and - \, and by 1 for * and /.;
#X msg 430 262 0 0 0 0 0;
#X text 428 243 Just say no!;
#X text 80 91 Symbols in first list will pass unchanged.;
#X text 83 376 Also see list-add \, list-mult \, list-sub for shortcuts.
;
#N canvas 416 170 494 396 META 0;
#X text 12 5 KEYWORDS control list_op;
#X text 12 25 LICENSE SIBSD;
#X text 12 125 AUTHOR Frank Barknecht;
#X text 12 145 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 45 DESCRIPTION do math on lists element by element;
#X text 12 65 INLET_0 list;
#X text 12 85 INLET_1 list;
#X text 12 105 OUTLET_0 list;
#X restore 483 386 pd META;
#X connect 1 0 11 0;
#X connect 3 0 12 1;
#X connect 4 0 12 0;
#X connect 5 0 13 0;
#X connect 6 0 10 0;
#X connect 10 0 9 0;
#X connect 11 0 0 0;
#X connect 12 0 7 0;
#X connect 13 0 8 0;
#X connect 14 0 10 1;
#X connect 15 0 13 1;
#X connect 16 0 11 1;
#X connect 18 0 10 1;