aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-31 17:20:19 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-31 17:20:19 +0000
commitc58f28a9c3d68dbcecdee75ae4408334d0fd6a3f (patch)
treea9ec03cd7171ffbed914ab47838915dab1603183 /externals
parentb3bb719292385faca7ec897c5940c092bbf639cc (diff)
added new maxlib files
svn path=/trunk/; revision=912
Diffstat (limited to 'externals')
-rw-r--r--externals/build/doc/help-allow.pd21
-rw-r--r--externals/build/doc/help-arraycopy.pd62
-rw-r--r--externals/build/doc/help-deny.pd20
-rw-r--r--externals/build/doc/help-listfifo.pd26
-rw-r--r--externals/build/doc/help-nchange.pd31
-rw-r--r--externals/build/doc/help-sync.pd53
-rw-r--r--externals/build/src/wrap.c1
7 files changed, 214 insertions, 0 deletions
diff --git a/externals/build/doc/help-allow.pd b/externals/build/doc/help-allow.pd
new file mode 100644
index 00000000..084d52f6
--- /dev/null
+++ b/externals/build/doc/help-allow.pd
@@ -0,0 +1,21 @@
+#N canvas 358 305 554 308 12;
+#X text 24 17 allow :: lets only 'allowed' floats or symbols through
+;
+#X text 97 34 written by Olaf Matthes <olaf.matthes@gmx.de>;
+#X msg 125 65 cat;
+#X msg 147 97 dog;
+#X msg 157 126 bird;
+#X floatatom 82 269 5 0 0 0 - - -;
+#X symbolatom 151 246 10 0 0 0 - - -;
+#X obj 114 156 symbol \$1;
+#X floatatom 40 81 5 0 0 0 - - -;
+#X obj 82 217 route float symbol;
+#X obj 82 189 allow 17 cat dog 23;
+#X connect 2 0 7 0;
+#X connect 3 0 7 0;
+#X connect 4 0 7 0;
+#X connect 7 0 10 0;
+#X connect 8 0 10 0;
+#X connect 9 0 5 0;
+#X connect 9 1 6 0;
+#X connect 10 0 9 0;
diff --git a/externals/build/doc/help-arraycopy.pd b/externals/build/doc/help-arraycopy.pd
new file mode 100644
index 00000000..6963c694
--- /dev/null
+++ b/externals/build/doc/help-arraycopy.pd
@@ -0,0 +1,62 @@
+#N canvas 140 43 934 584 12;
+#N canvas 0 0 450 300 graph1 0;
+#X array array1 20 float 1;
+#A 0 0 0 0.342857 0.542857 0.6 -0.442857 -0.485714 0.0142858 -0.428571
+-0.114286 0.0857143 -0.2 -0.214285 0.314285 -0.157143 -0.314285 -0.142857
+-0.0428571 0.114286 -0.685713;
+#X coords 0 1 19 -1 200 140 1;
+#X restore 680 27 graph;
+#N canvas 0 0 450 300 graph2 0;
+#X array array2 20 float 1;
+#A 0 -0.214286 -0.171429 0.1 0.614286 0.757143 0.757143 0.542857 0.2
+-0.0285714 -0.271429 -0.414286 -0.514286 -0.528571 -0.485714 -0.371429
+-0.157143 0.214286 0.557143 0.714286 0.757143;
+#X coords 0 1 19 -1 200 140 1;
+#X restore 681 196 graph;
+#N canvas 0 0 450 300 graph3 0;
+#X array array3 20 float 1;
+#A 0 1.86265e-009 1.86265e-009 1.86265e-009 1.86265e-009 1.86265e-009
+-0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857
+-0.0142857 -0.0285714 -0.0285714 -0.0285714 -0.0285714 -0.0142857 -0.0142857
+-0.0142857;
+#X coords 0 1 19 -1 200 140 1;
+#X restore 680 371 graph;
+#X obj 22 500 arraycopy array3;
+#X text 339 402 set the destination array;
+#X text 41 1 arraycopy :: copy data from one array to another;
+#X text 146 22 written by Olaf Matthes <olaf.matthes@gmx.de>;
+#X msg 22 109 copy array1;
+#X msg 43 139 copy array1 10 15;
+#X text 131 109 copy the whole array;
+#X text 200 140 copy from value 10 to 15;
+#X msg 60 169 copy array1 10 +5;
+#X text 217 170 copy from value 10 the next 5 values;
+#X msg 85 359 print \$1;
+#X obj 85 333 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X text 116 334 switch console printout on/off;
+#X text 281 202 copy from value 10 to 15;
+#X msg 73 201 copy array1 10 15 array2;
+#X text 280 222 into array2 (starting at 0);
+#X text 322 251 copy from value 10 to 15;
+#X text 321 271 into array2 starting at 4;
+#X msg 92 250 copy array1 10 15 array2 4;
+#X msg 368 454 array3;
+#X msg 86 414 bang;
+#X text 137 412 perform last copy;
+#X text 137 429 operation again;
+#X text 20 537 creation argument: initial destination array to copy
+data to;
+#X obj 200 502 symbol;
+#X msg 339 428 array2;
+#X connect 7 0 3 0;
+#X connect 8 0 3 0;
+#X connect 11 0 3 0;
+#X connect 13 0 3 0;
+#X connect 14 0 13 0;
+#X connect 17 0 3 0;
+#X connect 21 0 3 0;
+#X connect 22 0 27 0;
+#X connect 23 0 3 0;
+#X connect 27 0 3 1;
+#X connect 28 0 27 0;
diff --git a/externals/build/doc/help-deny.pd b/externals/build/doc/help-deny.pd
new file mode 100644
index 00000000..9ca4a290
--- /dev/null
+++ b/externals/build/doc/help-deny.pd
@@ -0,0 +1,20 @@
+#N canvas 358 305 556 310 12;
+#X text 97 34 written by Olaf Matthes <olaf.matthes@gmx.de>;
+#X msg 125 65 cat;
+#X msg 147 97 dog;
+#X msg 157 126 bird;
+#X floatatom 82 269 5 0 0 0 - - -;
+#X symbolatom 151 246 10 0 0 0 - - -;
+#X obj 114 156 symbol \$1;
+#X floatatom 40 81 5 0 0 0 - - -;
+#X obj 82 217 route float symbol;
+#X obj 82 189 deny 17 cat dog 23;
+#X text 32 18 deny :: blocks 'denyed' floats or symbols;
+#X connect 1 0 6 0;
+#X connect 2 0 6 0;
+#X connect 3 0 6 0;
+#X connect 6 0 9 0;
+#X connect 7 0 9 0;
+#X connect 8 0 4 0;
+#X connect 8 1 5 0;
+#X connect 9 0 8 0;
diff --git a/externals/build/doc/help-listfifo.pd b/externals/build/doc/help-listfifo.pd
new file mode 100644
index 00000000..a40a6094
--- /dev/null
+++ b/externals/build/doc/help-listfifo.pd
@@ -0,0 +1,26 @@
+#N canvas 476 153 456 307 12;
+#X floatatom 104 231 5 0 0 0 - - -;
+#X msg 38 46 bang;
+#X text 146 152 fifo <size>;
+#X obj 38 152 listfifo 10;
+#X text 42 14 listfifo :: first in first out buffer for lists;
+#X obj 104 187 unpack f f;
+#X floatatom 179 230 5 0 0 0 - - -;
+#X obj 38 263 print listfifo_output;
+#X text 204 185 output of listfifo;
+#X msg 66 76 17.3 23;
+#X obj 166 101 pack f f;
+#X floatatom 166 70 5 0 0 0 - - -;
+#X floatatom 225 70 5 0 0 0 - - -;
+#X msg 84 125 \$1 \$2;
+#X text 83 46 hit to get next number out of the fifo;
+#X connect 1 0 3 0;
+#X connect 3 0 5 0;
+#X connect 3 0 7 0;
+#X connect 5 0 0 0;
+#X connect 5 1 6 0;
+#X connect 9 0 3 0;
+#X connect 10 0 13 0;
+#X connect 11 0 10 0;
+#X connect 12 0 10 1;
+#X connect 13 0 3 0;
diff --git a/externals/build/doc/help-nchange.pd b/externals/build/doc/help-nchange.pd
new file mode 100644
index 00000000..cfcf00b1
--- /dev/null
+++ b/externals/build/doc/help-nchange.pd
@@ -0,0 +1,31 @@
+#N canvas 271 238 519 310 12;
+#X obj 30 213 nchange f;
+#X obj 371 215 nchange l;
+#X msg 367 144 bla foo dog;
+#X msg 387 169 bla foo 23;
+#X msg 348 121 bla foo dog 17;
+#X obj 200 214 nchange s;
+#X obj 200 185 symbol;
+#X msg 200 126 dog;
+#X msg 216 153 cat;
+#X obj 162 15 change;
+#X obj 371 253 print list;
+#X obj 200 255 print symbol;
+#X msg 30 152 0;
+#X msg 43 180 1;
+#X obj 30 257 print float;
+#X text 100 34 written by Olaf Matthes <olaf.matthes@gmx.de>;
+#X text 12 15 nchange :: a 'new';
+#X text 22 77 The creation argument specifies whether nchange works
+for floats \, symbols or lists.;
+#X connect 0 0 14 0;
+#X connect 1 0 10 0;
+#X connect 2 0 1 0;
+#X connect 3 0 1 0;
+#X connect 4 0 1 0;
+#X connect 5 0 11 0;
+#X connect 6 0 5 0;
+#X connect 7 0 6 0;
+#X connect 8 0 6 0;
+#X connect 12 0 0 0;
+#X connect 13 0 0 0;
diff --git a/externals/build/doc/help-sync.pd b/externals/build/doc/help-sync.pd
new file mode 100644
index 00000000..d82521ef
--- /dev/null
+++ b/externals/build/doc/help-sync.pd
@@ -0,0 +1,53 @@
+#N canvas 142 53 830 657 12;
+#X text 78 16 sync :: extended trigger object based;
+#X text 143 35 on sync from jMax;
+#X floatatom 18 485 5 0 0 0 - - -;
+#X floatatom 39 457 5 0 0 0 - - -;
+#X floatatom 61 433 5 0 0 0 - - -;
+#X floatatom 18 124 5 0 0 0 - - -;
+#X floatatom 39 152 5 0 0 0 - - -;
+#X floatatom 61 177 5 0 0 0 - - -;
+#X msg 205 143 mode any;
+#X msg 187 116 mode all;
+#X msg 216 169 mode left;
+#X msg 229 198 mode right;
+#X msg 243 226 mode none;
+#X text 295 142 any input triggers the outputs;
+#X text 305 169 trigger output when left inlet changes;
+#X text 325 199 trigger output when right inlet changes;
+#X text 333 228 never trigger output;
+#X obj 18 404 sync 3;
+#X text 146 415 the creation argument determines the number of inlets
+/ outlets sync will have.;
+#X obj 149 462 sync 23 17.3;
+#X text 147 490 alternatively it's possible to specify the number of
+inlets / outlets by giving initial values for every outlet. these values
+will be output in case no input has been received in the corresponding
+inlet until the time when the output is triggered.;
+#X text 274 116 all inputs have to change to trigger output (default)
+;
+#X msg 223 270 trigger 2;
+#X msg 230 335 require 1;
+#X text 324 320 additionally another input can be defined to be required
+for the trigger event to take place. i.e. the second inlet (inlet #1)
+from the left must have been changed since the last triggering occured.
+;
+#X text 324 265 use this message to make the n-th input (counting from
+0 to <number of inputs - 1>) a triggering input. only one input at
+a time can be triggering!;
+#X text 212 90 the easy way:;
+#X msg 228 299 trigger 1;
+#X connect 5 0 17 0;
+#X connect 6 0 17 1;
+#X connect 7 0 17 2;
+#X connect 8 0 17 0;
+#X connect 9 0 17 0;
+#X connect 10 0 17 0;
+#X connect 11 0 17 0;
+#X connect 12 0 17 0;
+#X connect 17 0 2 0;
+#X connect 17 1 3 0;
+#X connect 17 2 4 0;
+#X connect 22 0 17 0;
+#X connect 23 0 17 0;
+#X connect 27 0 17 0;
diff --git a/externals/build/src/wrap.c b/externals/build/src/wrap.c
new file mode 100644
index 00000000..5a6f95f8
--- /dev/null
+++ b/externals/build/src/wrap.c
@@ -0,0 +1 @@
+#include "../../maxlib/src/wrap.c"