aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/pd/builtins-1.pd
blob: 095e7690f1f5e26991a18911b66dce329be674fb (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
#N canvas 327 349 706 421 12;
#X obj 36 241 py .range @xlate 0;
#X floatatom 35 356 5 0 0 0 - - -;
#X obj 35 323 py .sum;
#X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818
-1 0;
#X text 235 16 Python script objects \, (C)2003-2005 Thomas Grill;
#X text 235 32 http://grrrr.org/ext;
#X obj 36 159 nbx 5 14 -1e+037 1e+037 0 1 empty empty min 0 -6 0 10
-262131 -1 -1 38 256;
#X obj 95 159 nbx 5 14 -1e+037 1e+037 0 1 empty empty max 0 -6 0 10
-262131 -1 -1 100 256;
#X obj 154 159 nbx 5 14 1 100000 1 1 empty empty step 0 -6 0 10 -262131
-1 -1 1 256;
#N canvas 0 0 462 312 pak3 0;
#X obj 34 26 inlet;
#X obj 81 28 inlet;
#X obj 129 28 inlet;
#X obj 36 158 outlet;
#X obj 36 123 pack 0 0 0;
#X obj 61 78 t b f;
#X obj 108 80 t b f;
#X obj 208 46 loadbang;
#X obj 208 73 1;
#X connect 0 0 4 0;
#X connect 1 0 5 0;
#X connect 2 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 5 1 4 1;
#X connect 6 0 4 0;
#X connect 6 1 4 2;
#X connect 7 0 8 0;
#X connect 8 0 4 2;
#X restore 36 195 pd pak3;
#X text 115 240 construct a Python list;
#X text 78 282 Python object pointer is propagated to next object;
#X text 106 320 calculate sum over list elements;
#X text 21 73 Py can use built-in Python functions;
#X text 21 97 A . preceding the function name searches for the function
in either the pyext module or in __builtins__;
#X connect 0 0 2 1;
#X connect 2 0 1 0;
#X connect 6 0 9 0;
#X connect 7 0 9 1;
#X connect 8 0 9 2;
#X connect 9 0 0 1;