File: pack.pd

package info (click to toggle)
pd 0.32p1-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,704 kB
  • ctags: 5,418
  • sloc: ansic: 38,382; tcl: 1,036; makefile: 612; sh: 265
file content (28 lines) | stat: -rw-r--r-- 1,371 bytes parent folder | download
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
#N canvas 14 8 638 330 12;
#X floatatom 19 86;
#X msg 29 115 bang;
#X floatatom 53 141;
#X floatatom 166 141;
#X obj 19 254 print;
#X msg 85 141 symbol cat;
#X obj 82 9 pack;
#X text 23 303 See also;
#X obj 90 304 unpack;
#X text 14 34 The pack object takes a series of inputs and outputs a concatenated list. The number of creation arguments determines the number of inlets.;
#X text 60 85 <-- number in first inlet generates output;
#X text 70 114 <-- bang generates output without resetting first value;
#X text 197 139 <-- numbers and symbols in the corresponding inlets change the values without causing output (see "trigger" for a way to change this behavior.);
#X text 218 192 <-- as with any Pd object \, you can send a list whose atoms are automatically distributed to the corresponding inlets.;
#X msg 158 190 1 2 dog;
#X obj 140 304 trigger;
#X text 432 306 updated for Pd version 0.3;
#X obj 19 227 pack 100 0 s 0;
#X text 125 223 <-- creation arguments specify the number of inlets and their types: a number make a numeric outlet (and initializes the value). A symbol argument can start with "s" or "f" to specify a "symbol" or "float" (number) outlet.;
#X text 121 9 - combine several atoms into one message;
#X connect 0 0 17 0;
#X connect 1 0 17 0;
#X connect 2 0 17 1;
#X connect 3 0 17 3;
#X connect 5 0 17 2;
#X connect 14 0 17 0;
#X connect 17 0 4 0;