File: list-apply-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 (80 lines) | stat: -rw-r--r-- 2,572 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#N canvas 0 26 802 590 10;
#X obj 78 317 list-apply + 1;
#X msg 78 285 1 2 3 4;
#X obj 78 344 print;
#X msg 233 285 1 2 3 4;
#X obj 233 347 print;
#X text 29 23 list-apply: apply the object created by [arg1 arg2] on
every list element and return the modified list.;
#X floatatom 171 287 5 0 0 2 add_x - -;
#X msg 360 264 set /synth%d/freq;
#X text 129 126 Inlets:;
#X text 165 168 2) inlet connected to the apply-operation's first inlet.
;
#X text 164 191 3) inlet connected to the apply-operation's second
inlet \, if possible. (Not connected if there is no second inlet as
is the case with for example makefilename.;
#X msg 360 285 set count_%d...;
#X msg 487 286 not used with makefilename;
#X msg 77 396 1 2 3 4;
#X obj 77 438 print;
#X msg 288 397 1 2 3 4;
#X obj 288 439 print;
#X obj 388 379 hradio 15 1 0 4 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X obj 388 396 + 1;
#X floatatom 198 398 5 0 0 2 moses-arg - -;
#X text 128 74 Arguments:;
#X text 163 92 Arg1 and arg2 are used to create the object whose operation
is applied to the list elements.;
#X text 164 148 1) the list to modify.;
#X text 24 248 EXAMPLES:;
#X obj 503 446 print;
#X msg 503 366 1 2 3 3 3 4;
#X msg 560 392 set 1;
#X obj 645 447 print;
#X msg 645 387 45 57 69;
#X obj 79 551 print;
#X msg 79 507 1 2 3 4;
#X text 286 530 prepent is part of list-abs;
#X obj 233 317 list-apply makefilename /synth%d/freq;
#X obj 77 417 list-apply moses 3;
#X obj 288 418 list-apply == 4;
#X obj 503 418 list-apply change;
#X obj 645 418 list-apply mtof;
#X obj 79 528 list-apply prepent whatever;
#N canvas 460 150 494 396 META 0;
#X text 12 5 KEYWORDS control list_op;
#X text 12 25 LICENSE SIBSD;
#X text 12 155 AUTHOR Frank Barknecht;
#X text 12 135 OUTLET_0 list;
#X text 12 175 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 95 INLET_1 anything;
#X text 12 75 INLET_0 anything;
#X text 12 45 DESCRIPTION apply the object created by [arg1 arg2] on
every list element and return the modified list.;
#X text 12 115 INLET_2 anything;
#X restore 737 557 pd META;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 3 0 32 0;
#X connect 6 0 0 2;
#X connect 7 0 32 1;
#X connect 11 0 32 1;
#X connect 12 0 32 2;
#X connect 13 0 33 0;
#X connect 15 0 34 0;
#X connect 17 0 18 0;
#X connect 18 0 34 2;
#X connect 19 0 33 2;
#X connect 25 0 35 0;
#X connect 26 0 35 1;
#X connect 28 0 36 0;
#X connect 30 0 37 0;
#X connect 32 0 4 0;
#X connect 33 0 14 0;
#X connect 34 0 16 0;
#X connect 35 0 24 0;
#X connect 36 0 27 0;
#X connect 37 0 29 0;