From cdf86b37d6180f5f88393c02d8f5e19e2e645ad6 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 3 Jan 2003 04:35:22 +0000 Subject: "" svn path=/trunk/; revision=317 --- externals/grill/flext/tutorial/adv1/adv1.cw | Bin 102477 -> 102477 bytes externals/grill/flext/tutorial/adv2/adv2.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/adv2/main.cpp | 4 +- externals/grill/flext/tutorial/adv3/adv3.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/adv3/main.cpp | 12 +-- externals/grill/flext/tutorial/attr1/attr1.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/attr2/attr2.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/attr2/main.cpp | 4 +- externals/grill/flext/tutorial/attr3/attr3.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/attr3/main.cpp | 2 +- .../grill/flext/tutorial/config-pd-cygwin.txt | 4 +- .../grill/flext/tutorial/config-pd-darwin.txt | 4 +- externals/grill/flext/tutorial/lib1/lib1.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/makefile.pd-cygwin | 3 +- externals/grill/flext/tutorial/makefile.pd-darwin | 2 +- externals/grill/flext/tutorial/makefile.pd-linux | 4 +- externals/grill/flext/tutorial/maxmsp/ex-adv1 | Bin 535 -> 540 bytes externals/grill/flext/tutorial/maxmsp/ex-adv2 | Bin 0 -> 726 bytes externals/grill/flext/tutorial/maxmsp/ex-adv3 | Bin 0 -> 801 bytes externals/grill/flext/tutorial/maxmsp/ex-attr2 | Bin 1384 -> 1389 bytes externals/grill/flext/tutorial/maxmsp/ex-attr3 | Bin 0 -> 1358 bytes externals/grill/flext/tutorial/maxmsp/ex-simple3 | Bin 657 -> 662 bytes externals/grill/flext/tutorial/pd/ex-adv1.pd | 45 +++++----- externals/grill/flext/tutorial/pd/ex-adv3.pd | 80 +++++++++--------- externals/grill/flext/tutorial/pd/ex-attr2.pd | 20 ++--- externals/grill/flext/tutorial/pd/ex-attr3.pd | 52 ++++++------ externals/grill/flext/tutorial/pd/ex-simple1.pd | 32 +++---- externals/grill/flext/tutorial/pd/ex-simple2.pd | 42 ++++----- externals/grill/flext/tutorial/pd/ex-simple3.pd | 44 +++++----- externals/grill/flext/tutorial/pd/ex-thread1.pd | 86 +++++++++---------- externals/grill/flext/tutorial/pd/ex-thread2.pd | 94 ++++++++++----------- externals/grill/flext/tutorial/readme.txt | 17 ++++ externals/grill/flext/tutorial/signal1/signal1.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/signal2/signal2.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/simple1/simple1.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/simple2/simple2.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/simple3/simple3.cw | Bin 101183 -> 101183 bytes externals/grill/flext/tutorial/thread1/thread1.cw | Bin 68426 -> 68426 bytes externals/grill/flext/tutorial/thread2/thread2.cw | Bin 68426 -> 68426 bytes 39 files changed, 286 insertions(+), 265 deletions(-) create mode 100755 externals/grill/flext/tutorial/maxmsp/ex-adv2 create mode 100755 externals/grill/flext/tutorial/maxmsp/ex-adv3 create mode 100755 externals/grill/flext/tutorial/maxmsp/ex-attr3 (limited to 'externals/grill/flext/tutorial') diff --git a/externals/grill/flext/tutorial/adv1/adv1.cw b/externals/grill/flext/tutorial/adv1/adv1.cw index 69e479a1..7c6c1e33 100755 Binary files a/externals/grill/flext/tutorial/adv1/adv1.cw and b/externals/grill/flext/tutorial/adv1/adv1.cw differ diff --git a/externals/grill/flext/tutorial/adv2/adv2.cw b/externals/grill/flext/tutorial/adv2/adv2.cw index a0a68e0f..0e555e20 100755 Binary files a/externals/grill/flext/tutorial/adv2/adv2.cw and b/externals/grill/flext/tutorial/adv2/adv2.cw differ diff --git a/externals/grill/flext/tutorial/adv2/main.cpp b/externals/grill/flext/tutorial/adv2/main.cpp index 10322010..9174d3b1 100644 --- a/externals/grill/flext/tutorial/adv2/main.cpp +++ b/externals/grill/flext/tutorial/adv2/main.cpp @@ -44,7 +44,7 @@ protected: private: // define the _static_ class setup function - static void setup(t_class *c); + static void setup(t_classid c); FLEXT_CALLBACK(m_tag) FLEXT_CALLBACK_I(m_tag_and_int) @@ -61,7 +61,7 @@ adv2::adv2() AddInAnything(); // add inlet of type anything (index 0) } -void adv2::setup(t_class *c) +void adv2::setup(t_classid c) { // register methods: // notice the naming FLEXT_CADD_METHOD* instead of FLEXT_ADD_METHOD* diff --git a/externals/grill/flext/tutorial/adv3/adv3.cw b/externals/grill/flext/tutorial/adv3/adv3.cw index dd30edd4..ed5e1110 100755 Binary files a/externals/grill/flext/tutorial/adv3/adv3.cw and b/externals/grill/flext/tutorial/adv3/adv3.cw differ diff --git a/externals/grill/flext/tutorial/adv3/main.cpp b/externals/grill/flext/tutorial/adv3/main.cpp index 78615172..608897e6 100644 --- a/externals/grill/flext/tutorial/adv3/main.cpp +++ b/externals/grill/flext/tutorial/adv3/main.cpp @@ -65,12 +65,12 @@ public: i_count = i_down; // --- define inlets and outlets --- - AddInAnything(); // default inlet - AddInList(); // inlet for bounds - AddInInt(); // inlet for step size + AddInAnything("bang, reset, etc."); // default inlet + AddInList("bounds (2 element list)"); // inlet for bounds + AddInInt("step size"); // inlet for step size - AddOutInt(); // outlet for integer count - AddOutBang(); // outlet for bang + AddOutInt("counter"); // outlet for integer count + AddOutBang("overflow bang"); // outlet for bang } protected: @@ -117,7 +117,7 @@ protected: private: - static void setup(t_class *c) + static void setup(t_classid c) { // --- set up methods (class scope) --- diff --git a/externals/grill/flext/tutorial/attr1/attr1.cw b/externals/grill/flext/tutorial/attr1/attr1.cw index 3b6f2334..cf880938 100755 Binary files a/externals/grill/flext/tutorial/attr1/attr1.cw and b/externals/grill/flext/tutorial/attr1/attr1.cw differ diff --git a/externals/grill/flext/tutorial/attr2/attr2.cw b/externals/grill/flext/tutorial/attr2/attr2.cw index 150ff981..05cd19b0 100755 Binary files a/externals/grill/flext/tutorial/attr2/attr2.cw and b/externals/grill/flext/tutorial/attr2/attr2.cw differ diff --git a/externals/grill/flext/tutorial/attr2/main.cpp b/externals/grill/flext/tutorial/attr2/main.cpp index f75ce412..fe61f6da 100644 --- a/externals/grill/flext/tutorial/attr2/main.cpp +++ b/externals/grill/flext/tutorial/attr2/main.cpp @@ -59,7 +59,7 @@ protected: private: - static void setup(t_class *); + static void setup(t_classid); // callback for method "m_trigger" (with one float argument) FLEXT_CALLBACK_F(m_trigger) @@ -90,7 +90,7 @@ const t_symbol *attr2::sym_div,*attr2::sym_mul, *attr2::sym_pow; -void attr2::setup(t_class *c) +void attr2::setup(t_classid c) { // Upon class creation setup some symbols // This is done only upon creation of of the first "attr2" object diff --git a/externals/grill/flext/tutorial/attr3/attr3.cw b/externals/grill/flext/tutorial/attr3/attr3.cw index fb08c819..5fe6b36a 100755 Binary files a/externals/grill/flext/tutorial/attr3/attr3.cw and b/externals/grill/flext/tutorial/attr3/attr3.cw differ diff --git a/externals/grill/flext/tutorial/attr3/main.cpp b/externals/grill/flext/tutorial/attr3/main.cpp index 4c2736c5..8d37f467 100644 --- a/externals/grill/flext/tutorial/attr3/main.cpp +++ b/externals/grill/flext/tutorial/attr3/main.cpp @@ -108,7 +108,7 @@ protected: private: - static void setup(t_class *c) + static void setup(t_classid c) { // --- set up methods (class scope) --- diff --git a/externals/grill/flext/tutorial/config-pd-cygwin.txt b/externals/grill/flext/tutorial/config-pd-cygwin.txt index 81d4136e..237cd519 100644 --- a/externals/grill/flext/tutorial/config-pd-cygwin.txt +++ b/externals/grill/flext/tutorial/config-pd-cygwin.txt @@ -12,12 +12,12 @@ FLEXTPATH=${PDPATH}/flext # where is the SndObj include directory? # (leave blank or comment out to disable SndObj support) # if defined, you must have a libsndobj.a library in the lib path -SNDOBJ=/usr/local/include/SndObj +#SNDOBJ=/usr/local/include/SndObj # where is the STK include directory? # (leave blank or comment out to disable STK support) # if defined, you must have a libstk.a library in the lib path -STK=/usr/src/stk-4.1.1/include +#STK=/usr/src/stk-4.1.1/include # where should the examples be built? OUTPATH=./pd-cygwin diff --git a/externals/grill/flext/tutorial/config-pd-darwin.txt b/externals/grill/flext/tutorial/config-pd-darwin.txt index 0c12880b..eb65fcdf 100644 --- a/externals/grill/flext/tutorial/config-pd-darwin.txt +++ b/externals/grill/flext/tutorial/config-pd-darwin.txt @@ -17,12 +17,12 @@ FLEXTPATH=/usr/local/pd/flext # where is the SndObj include directory? # (leave blank or comment out to disable SndObj support) # if defined, you must have a libsndobj.a library in the lib path -SNDOBJ=/usr/local/include/SndObj +#SNDOBJ=/usr/local/include/SndObj # where is the STK include directory? # (leave blank or comment out to disable STK support) # if defined, you must have a libstk.a library in the lib path -STK=/usr/src/stk-4.1.1/include +#STK=/usr/src/stk-4.1.1/include # where should the examples be built? (relative path) OUTPATH=./pd-darwin diff --git a/externals/grill/flext/tutorial/lib1/lib1.cw b/externals/grill/flext/tutorial/lib1/lib1.cw index 98828b81..3ed47c99 100755 Binary files a/externals/grill/flext/tutorial/lib1/lib1.cw and b/externals/grill/flext/tutorial/lib1/lib1.cw differ diff --git a/externals/grill/flext/tutorial/makefile.pd-cygwin b/externals/grill/flext/tutorial/makefile.pd-cygwin index 60f5b08e..31224ed3 100644 --- a/externals/grill/flext/tutorial/makefile.pd-cygwin +++ b/externals/grill/flext/tutorial/makefile.pd-cygwin @@ -18,7 +18,8 @@ FLEXTLIB=$(FLEXTPATH)/flext-pdwin.lib INCLUDES=$(PDPATH)/src LIBPATH=$(PDPATH)/bin FLAGS=-DFLEXT_SYS=2 -CFLAGS=-O6 -mcpu=pentiumpro +CFLAGS=-O6 -fno-rtti +CFLAGS+=-mcpu=pentium3 -msse # cygwin gcc 3.2 LIBS=m pd diff --git a/externals/grill/flext/tutorial/makefile.pd-darwin b/externals/grill/flext/tutorial/makefile.pd-darwin index ad8da699..b384d9cc 100644 --- a/externals/grill/flext/tutorial/makefile.pd-darwin +++ b/externals/grill/flext/tutorial/makefile.pd-darwin @@ -16,7 +16,7 @@ FLEXTLIB=$(FLEXTPATH)/flext_t.a # take threaded library for all INCLUDES=$(PDPATH) LIBPATH= FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes # -maltivec -CFLAGS=-O6 +CFLAGS=-O6 -fno-rtti LIBS=m LDFLAGS=-bundle -bundle_loader $(PD) diff --git a/externals/grill/flext/tutorial/makefile.pd-linux b/externals/grill/flext/tutorial/makefile.pd-linux index 0bad96fb..3b0bc3d3 100644 --- a/externals/grill/flext/tutorial/makefile.pd-linux +++ b/externals/grill/flext/tutorial/makefile.pd-linux @@ -16,7 +16,9 @@ FLEXTLIB=$(FLEXTPATH)/flext_t.a # take threaded library for all INCLUDES=$(PDPATH)/src LIBPATH= FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS -CFLAGS=-O6 -mcpu=pentiumpro +CFLAGS=-O6 -fno-rtti +CFLAGS+=-mcpu=pentiumpro # gcc 2.95 +# CFLAGS+=-mcpu=pentium3 -msse # gcc 3.2 LIBS=m diff --git a/externals/grill/flext/tutorial/maxmsp/ex-adv1 b/externals/grill/flext/tutorial/maxmsp/ex-adv1 index dbdcf1fb..f086ab57 100755 Binary files a/externals/grill/flext/tutorial/maxmsp/ex-adv1 and b/externals/grill/flext/tutorial/maxmsp/ex-adv1 differ diff --git a/externals/grill/flext/tutorial/maxmsp/ex-adv2 b/externals/grill/flext/tutorial/maxmsp/ex-adv2 new file mode 100755 index 00000000..b6aa0065 Binary files /dev/null and b/externals/grill/flext/tutorial/maxmsp/ex-adv2 differ diff --git a/externals/grill/flext/tutorial/maxmsp/ex-adv3 b/externals/grill/flext/tutorial/maxmsp/ex-adv3 new file mode 100755 index 00000000..1f041257 Binary files /dev/null and b/externals/grill/flext/tutorial/maxmsp/ex-adv3 differ diff --git a/externals/grill/flext/tutorial/maxmsp/ex-attr2 b/externals/grill/flext/tutorial/maxmsp/ex-attr2 index 39256fcb..aab02c92 100755 Binary files a/externals/grill/flext/tutorial/maxmsp/ex-attr2 and b/externals/grill/flext/tutorial/maxmsp/ex-attr2 differ diff --git a/externals/grill/flext/tutorial/maxmsp/ex-attr3 b/externals/grill/flext/tutorial/maxmsp/ex-attr3 new file mode 100755 index 00000000..7ef7292f Binary files /dev/null and b/externals/grill/flext/tutorial/maxmsp/ex-attr3 differ diff --git a/externals/grill/flext/tutorial/maxmsp/ex-simple3 b/externals/grill/flext/tutorial/maxmsp/ex-simple3 index 7b5acee2..7dda678c 100755 Binary files a/externals/grill/flext/tutorial/maxmsp/ex-simple3 and b/externals/grill/flext/tutorial/maxmsp/ex-simple3 differ diff --git a/externals/grill/flext/tutorial/pd/ex-adv1.pd b/externals/grill/flext/tutorial/pd/ex-adv1.pd index 93695c7e..ea5337f7 100644 --- a/externals/grill/flext/tutorial/pd/ex-adv1.pd +++ b/externals/grill/flext/tutorial/pd/ex-adv1.pd @@ -1,22 +1,23 @@ -#N canvas 46 58 586 341 12; -#X msg 34 92 or two words; -#X msg 169 93 2 3; -#X msg 48 291 one or two words; -#X obj 72 213 print result; -#X obj 49 172 adv1 one; -#X obj 48 263 prepend set; -#X text 162 257 you can also use "prepend"; -#X obj 16 8 cnv 15 550 40 empty empty adv1 10 22 0 24 -260818 -1 0 -; -#X text 175 27 http://www.parasitaere-kapazitaeten.net; -#X text 199 214 watch the console!; -#X msg 69 121 6; -#X text 210 110 send the object various messages; -#X text 160 274 (if adv1 has already been loaded); -#X text 175 9 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 0 0 4 0; -#X connect 1 0 4 0; -#X connect 4 0 3 0; -#X connect 4 0 5 0; -#X connect 5 0 2 0; -#X connect 10 0 4 0; +#N canvas 46 58 588 343 12; +#X msg 34 92 or two words; +#X msg 169 93 2 3; +#X msg 48 291 one 20; +#X obj 72 213 print result; +#X obj 49 172 adv1 one; +#X obj 48 263 prepend set; +#X text 162 257 you can also use "prepend"; +#X obj 16 8 cnv 15 550 40 empty empty adv1 10 22 0 24 -260818 -1 0 +; +#X text 175 27 http://www.parasitaere-kapazitaeten.net; +#X text 199 214 watch the console!; +#X text 210 110 send the object various messages; +#X text 160 274 (if adv1 has already been loaded); +#X text 175 9 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X obj 66 127 nbx 3 18 0 100 0 0 empty empty empty 0 -6 0 14 -262144 +-1 -1 20 256; +#X connect 0 0 4 0; +#X connect 1 0 4 0; +#X connect 4 0 3 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 13 0 4 0; diff --git a/externals/grill/flext/tutorial/pd/ex-adv3.pd b/externals/grill/flext/tutorial/pd/ex-adv3.pd index 09b0a0ff..2ffaf1b5 100644 --- a/externals/grill/flext/tutorial/pd/ex-adv3.pd +++ b/externals/grill/flext/tutorial/pd/ex-adv3.pd @@ -1,40 +1,40 @@ -#N canvas 175 139 597 355 12; -#X obj 16 7 cnv 15 550 40 empty empty adv3 10 22 0 24 -260818 -1 0 -; -#X text 174 28 http://www.parasitaere-kapazitaeten.net; -#X obj 229 266 adv3 2 5 1; -#X obj 305 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 223 300 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X msg 269 120 1 10; -#X msg 389 118 1; -#X msg 424 118 -1; -#X msg 460 118 2; -#X obj 88 119 bng 25 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 --1; -#X msg 313 119 7 2; -#X text 325 300 end has been reached; -#X obj 157 117 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X msg 158 140 set \$1; -#X text 72 98 trigger; -#X text 147 98 set counter; -#X text 264 99 set bounds; -#X text 390 96 set step size; -#X msg 80 186 reset; -#X text 83 166 reset; -#X text 21 49 this is a port of IOhannes Zmoelnings "counter" example -; -#X text 174 8 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 2 0 4 0; -#X connect 2 1 3 0; -#X connect 5 0 2 1; -#X connect 6 0 2 2; -#X connect 7 0 2 2; -#X connect 8 0 2 2; -#X connect 9 0 2 0; -#X connect 10 0 2 1; -#X connect 12 0 13 0; -#X connect 13 0 2 0; -#X connect 18 0 2 0; +#N canvas 175 139 603 361 12; +#X obj 16 7 cnv 15 550 40 empty empty adv3 10 22 0 24 -260818 -1 0 +; +#X text 174 28 http://www.parasitaere-kapazitaeten.net; +#X obj 229 266 adv3 2 5 1; +#X obj 305 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 223 300 nbx 5 18 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 2 256; +#X msg 269 130 1 10; +#X msg 389 128 1; +#X msg 429 128 -1; +#X msg 469 128 2; +#X obj 88 129 bng 25 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +-1; +#X msg 317 130 7 2; +#X text 325 300 end has been reached; +#X obj 157 127 nbx 5 18 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 25 256; +#X msg 158 150 set \$1; +#X text 72 108 trigger; +#X text 147 108 set counter; +#X text 264 109 set bounds; +#X text 390 106 set step size; +#X msg 80 196 reset; +#X text 83 176 reset; +#X text 174 8 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X text 21 49 this is a port of IOhannes Zmoelnings "counter" example +; +#X connect 2 0 4 0; +#X connect 2 1 3 0; +#X connect 5 0 2 1; +#X connect 6 0 2 2; +#X connect 7 0 2 2; +#X connect 8 0 2 2; +#X connect 9 0 2 0; +#X connect 10 0 2 1; +#X connect 12 0 13 0; +#X connect 13 0 2 0; +#X connect 18 0 2 0; diff --git a/externals/grill/flext/tutorial/pd/ex-attr2.pd b/externals/grill/flext/tutorial/pd/ex-attr2.pd index de1b0c63..d58959b9 100644 --- a/externals/grill/flext/tutorial/pd/ex-attr2.pd +++ b/externals/grill/flext/tutorial/pd/ex-attr2.pd @@ -1,4 +1,4 @@ -#N canvas 364 29 605 442 12; +#N canvas 364 29 609 446 12; #X msg 21 84 help; #X msg 23 119 getattributes; #X text 265 357 there is one additional outlet; @@ -11,7 +11,7 @@ #X text 160 118 query object attributes (watch console); #X msg 96 155 getop; #X obj 159 337 attr2 @op +; -#X text 238 154 query attributes; +#X text 252 155 query attributes; #X text 333 210 set attributes; #X msg 169 200 op +; #X msg 168 225 op -; @@ -20,16 +20,16 @@ #X msg 269 200 op =; #X msg 219 224 op /; #X msg 158 155 getresult; -#X obj 16 8 cnv 15 550 40 empty empty attr2 10 22 0 24 -260818 -1 0 -; +#X obj 16 8 cnv 15 550 40 empty empty attr2 10 22 32 24 -260818 -1 +0; #X text 173 28 http://www.parasitaere-kapazitaeten.net; #X text 91 398 result; -#X obj 23 271 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 40 256; -#X obj 271 273 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 10 256; -#X obj 151 398 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 400 256; +#X obj 23 271 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 32 12 -261681 +-1 -1 20 256; +#X obj 271 273 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 32 12 -261681 +-1 -1 4 256; +#X obj 151 398 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 +12 -228992 -1 -1 80 256; #X text 171 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; #X text 328 274 set argument; #X connect 0 0 11 0; diff --git a/externals/grill/flext/tutorial/pd/ex-attr3.pd b/externals/grill/flext/tutorial/pd/ex-attr3.pd index b55bf2fd..48a89137 100644 --- a/externals/grill/flext/tutorial/pd/ex-attr3.pd +++ b/externals/grill/flext/tutorial/pd/ex-attr3.pd @@ -1,38 +1,38 @@ -#N canvas 175 139 603 453 12; -#X obj 16 7 cnv 15 550 40 empty empty attr3 10 22 0 24 -260818 -1 0 -; +#N canvas 175 139 607 457 12; +#X obj 16 7 cnv 15 550 40 empty empty attr3 10 22 32 24 -260818 -1 +0; #X text 174 28 http://www.parasitaere-kapazitaeten.net; -#X obj 293 364 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 196 361 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X msg 264 129 1 10; -#X msg 384 127 1; -#X msg 419 127 -1; -#X msg 455 127 2; -#X obj 36 128 bng 25 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +#X obj 293 364 bng 15 250 50 0 empty empty empty 0 -6 32 8 -262144 +-1 -1; +#X obj 196 361 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 +12 -228992 -1 -1 2 256; +#X msg 296 126 1 10; +#X msg 419 127 1; +#X msg 459 127 -1; +#X msg 498 127 2; +#X obj 36 128 bng 25 250 50 0 empty empty empty 0 -6 32 8 -258699 -1 -1; -#X msg 308 128 7 2; -#X obj 159 123 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X msg 160 146 set \$1; +#X msg 344 126 7 2; +#X obj 173 119 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 +12 -228992 -1 -1 17 256; +#X msg 174 142 set \$1; #X text 20 107 trigger; -#X text 149 104 set counter; -#X text 259 108 set bounds; -#X text 385 105 set step size; -#X msg 87 135 reset; -#X text 90 115 reset; -#X text 23 63 with attributes; +#X text 163 100 set counter; +#X text 291 105 set bounds; +#X text 420 105 set step size; +#X msg 97 135 reset; +#X text 100 115 reset; +#X text 21 64 with attributes; #X obj 197 327 attr3 @bounds 2 5 @step 1; #X msg 32 195 getattributes; #X obj 392 363 print; -#X text 440 362 attributes; +#X text 447 362 attributes; #X msg 32 237 getcount; #X msg 388 232 getstep; -#X text 149 193 list all attributes; +#X text 167 196 list all attributes; #X msg 32 266 count 3; -#X text 109 238 get count; -#X text 104 266 set count; +#X text 117 238 get count; +#X text 112 266 set count; #X msg 387 259 step 3; #X text 21 49 this is a port of IOhannes Zmoelnings "counter" example ; diff --git a/externals/grill/flext/tutorial/pd/ex-simple1.pd b/externals/grill/flext/tutorial/pd/ex-simple1.pd index eb32567d..9c090fac 100644 --- a/externals/grill/flext/tutorial/pd/ex-simple1.pd +++ b/externals/grill/flext/tutorial/pd/ex-simple1.pd @@ -1,16 +1,16 @@ -#N canvas 85 178 582 245 12; -#X msg 29 92 help; -#X text 203 187 inverse; -#X text 169 96 input; -#X obj 113 141 simple1; -#X obj 16 8 cnv 15 550 40 empty empty simple1 10 22 0 24 -260818 -1 -0; -#X text 175 28 http://www.parasitaere-kapazitaeten.net; -#X obj 114 96 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 88 256; -#X obj 112 190 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0.0113636 256; -#X text 175 8 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 0 0 3 0; -#X connect 3 0 7 0; -#X connect 6 0 3 0; +#N canvas 85 178 588 251 12; +#X msg 29 92 help; +#X text 203 187 inverse; +#X text 169 96 input; +#X obj 113 141 simple1; +#X obj 16 8 cnv 15 550 40 empty empty simple1 10 22 0 24 -260818 -1 +0; +#X text 167 30 http://www.parasitaere-kapazitaeten.net; +#X obj 114 96 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; +#X obj 112 190 nbx 7 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X text 167 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X connect 0 0 3 0; +#X connect 3 0 7 0; +#X connect 6 0 3 0; diff --git a/externals/grill/flext/tutorial/pd/ex-simple2.pd b/externals/grill/flext/tutorial/pd/ex-simple2.pd index dfc0cb8a..23c037d0 100644 --- a/externals/grill/flext/tutorial/pd/ex-simple2.pd +++ b/externals/grill/flext/tutorial/pd/ex-simple2.pd @@ -1,21 +1,21 @@ -#N canvas 72 265 589 307 12; -#X obj 111 196 simple2 3; -#X msg 21 83 help; -#X text 103 119 triggering; -#X text 215 120 non-triggering; -#X text 206 197 default argument; -#X obj 16 8 cnv 15 550 40 empty empty simple2 10 22 0 24 -260818 -1 -0; -#X text 174 28 http://www.parasitaere-kapazitaeten.net; -#X text 66 82 print a "help" message (to the console); -#X obj 110 144 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 22 256; -#X obj 217 144 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 0 256; -#X obj 111 239 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 25 256; -#X text 174 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 0 0 10 0; -#X connect 1 0 0 0; -#X connect 8 0 0 0; -#X connect 9 0 0 1; +#N canvas 72 265 595 313 12; +#X obj 111 196 simple2 3; +#X msg 21 83 help; +#X text 103 119 triggering; +#X text 215 120 non-triggering; +#X text 206 197 default argument; +#X obj 16 8 cnv 15 550 40 empty empty simple2 10 22 0 24 -260818 -1 +0; +#X text 167 29 http://www.parasitaere-kapazitaeten.net; +#X text 66 82 print a "help" message (to the console); +#X obj 110 144 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; +#X obj 217 144 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; +#X obj 111 239 nbx 7 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X text 167 11 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X connect 0 0 10 0; +#X connect 1 0 0 0; +#X connect 8 0 0 0; +#X connect 9 0 0 1; diff --git a/externals/grill/flext/tutorial/pd/ex-simple3.pd b/externals/grill/flext/tutorial/pd/ex-simple3.pd index c9bbc211..72ca4e18 100644 --- a/externals/grill/flext/tutorial/pd/ex-simple3.pd +++ b/externals/grill/flext/tutorial/pd/ex-simple3.pd @@ -1,22 +1,22 @@ -#N canvas 329 97 583 344 12; -#X msg 22 87 help; -#X msg 119 136 born; -#X msg 168 137 to; -#X msg 210 139 hula; -#X msg 224 220 yeah; -#X msg 224 182 hula 1; -#X text 276 221 other symbol; -#X obj 144 283 simple3; -#X text 257 140 tag without argument; -#X text 293 180 tag and argument; -#X text 68 87 print a help message; -#X obj 16 8 cnv 15 550 40 empty empty simple3 10 22 0 24 -260818 -1 -0; -#X text 174 28 http://www.parasitaere-kapazitaeten.net; -#X text 174 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 0 0 7 0; -#X connect 1 0 7 0; -#X connect 2 0 7 0; -#X connect 3 0 7 0; -#X connect 4 0 7 0; -#X connect 5 0 7 0; +#N canvas 329 97 589 350 12; +#X msg 22 87 help; +#X msg 119 136 born; +#X msg 168 137 to; +#X msg 210 139 hula; +#X msg 224 220 yeah; +#X msg 224 182 hula 1; +#X text 276 221 other symbol; +#X obj 144 283 simple3; +#X text 257 140 tag without argument; +#X text 293 180 tag and argument; +#X text 68 87 print a help message; +#X obj 16 8 cnv 15 550 40 empty empty simple3 10 22 0 24 -260818 -1 +0; +#X text 174 28 http://www.parasitaere-kapazitaeten.net; +#X text 174 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X connect 0 0 7 0; +#X connect 1 0 7 0; +#X connect 2 0 7 0; +#X connect 3 0 7 0; +#X connect 4 0 7 0; +#X connect 5 0 7 0; diff --git a/externals/grill/flext/tutorial/pd/ex-thread1.pd b/externals/grill/flext/tutorial/pd/ex-thread1.pd index a4b7ba79..ff2d9f38 100644 --- a/externals/grill/flext/tutorial/pd/ex-thread1.pd +++ b/externals/grill/flext/tutorial/pd/ex-thread1.pd @@ -1,43 +1,43 @@ -#N canvas 105 266 702 345 12; -#X obj 39 91 bng 25 250 50 0 empty empty start 0 -6 0 8 -261681 -1 --1; -#X obj 130 246 thread1; -#X obj 220 247 thread1; -#X obj 312 247 thread1; -#X obj 405 247 thread1; -#X obj 131 185 delay 200; -#X obj 220 184 delay 200; -#X obj 313 186 delay 200; -#X obj 404 185 delay 200; -#X text 78 85 click to start; -#X text 126 103 (if you click twice \, the same thread is started a -second time); -#X obj 16 8 cnv 15 550 40 empty empty thread1 10 22 0 24 -260818 -1 -0; -#X text 175 28 http://www.parasitaere-kapazitaeten.net; -#X obj 131 277 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X obj 221 277 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X obj 311 277 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X obj 406 276 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X obj 39 244 thread1; -#X obj 39 277 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X text 175 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 0 0 5 0; -#X connect 0 0 17 0; -#X connect 1 0 13 0; -#X connect 2 0 14 0; -#X connect 3 0 15 0; -#X connect 4 0 16 0; -#X connect 5 0 1 0; -#X connect 5 0 6 0; -#X connect 6 0 2 0; -#X connect 6 0 7 0; -#X connect 7 0 3 0; -#X connect 7 0 8 0; -#X connect 8 0 4 0; -#X connect 17 0 18 0; +#N canvas 105 266 708 351 12; +#X obj 39 91 bng 25 250 50 0 empty empty start 0 -6 0 8 -261681 -1 +-1; +#X obj 130 246 thread1; +#X obj 228 248 thread1; +#X obj 324 246 thread1; +#X obj 422 247 thread1; +#X obj 131 185 delay 200; +#X obj 228 185 delay 200; +#X obj 325 185 delay 200; +#X obj 421 185 delay 200; +#X text 78 85 click to start; +#X text 126 103 (if you click twice \, the same thread is started a +second time); +#X obj 16 8 cnv 15 550 40 empty empty thread1 10 22 0 24 -260818 -1 +0; +#X text 170 29 http://www.parasitaere-kapazitaeten.net; +#X obj 131 277 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X obj 229 278 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X obj 323 276 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X obj 423 276 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X obj 39 244 thread1; +#X obj 39 277 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X text 170 11 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X connect 0 0 5 0; +#X connect 0 0 17 0; +#X connect 1 0 13 0; +#X connect 2 0 14 0; +#X connect 3 0 15 0; +#X connect 4 0 16 0; +#X connect 5 0 1 0; +#X connect 5 0 6 0; +#X connect 6 0 2 0; +#X connect 6 0 7 0; +#X connect 7 0 3 0; +#X connect 7 0 8 0; +#X connect 8 0 4 0; +#X connect 17 0 18 0; diff --git a/externals/grill/flext/tutorial/pd/ex-thread2.pd b/externals/grill/flext/tutorial/pd/ex-thread2.pd index dc71ac48..9c601c85 100644 --- a/externals/grill/flext/tutorial/pd/ex-thread2.pd +++ b/externals/grill/flext/tutorial/pd/ex-thread2.pd @@ -1,47 +1,47 @@ -#N canvas 116 192 587 332 12; -#X msg 84 188 stop; -#X msg 255 192 stop; -#X obj 199 99 bng 25 250 50 0 empty empty empty 0 -6 0 8 -261681 -1 --1; -#X obj 291 99 bng 25 250 50 0 empty empty empty 0 -6 0 8 -261681 -1 --1; -#X text 191 78 start; -#X text 283 77 stop; -#X msg 39 188 0; -#X msg 210 192 0; -#X msg 423 190 stop; -#X msg 378 190 0; -#X obj 404 229 thread2 50; -#X obj 232 229 thread2 15; -#X obj 66 228 thread2 3; -#X msg 133 188 text; -#X msg 302 192 text; -#X msg 470 190 text; -#X obj 16 8 cnv 15 550 40 empty empty thread2 10 22 0 24 -260818 -1 -0; -#X text 174 28 http://www.parasitaere-kapazitaeten.net; -#X obj 65 264 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X obj 231 265 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X obj 403 267 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 0 256; -#X text 174 10 flext tutorial \, (C)2002 \, 2003 Thomas Grill; -#X connect 0 0 12 0; -#X connect 1 0 11 0; -#X connect 2 0 6 0; -#X connect 2 0 7 0; -#X connect 2 0 9 0; -#X connect 3 0 0 0; -#X connect 3 0 1 0; -#X connect 3 0 8 0; -#X connect 6 0 12 0; -#X connect 7 0 11 0; -#X connect 8 0 10 0; -#X connect 9 0 10 0; -#X connect 10 0 20 0; -#X connect 11 0 19 0; -#X connect 12 0 18 0; -#X connect 13 0 12 0; -#X connect 14 0 11 0; -#X connect 15 0 10 0; +#N canvas 116 192 593 338 12; +#X msg 84 188 stop; +#X msg 255 192 stop; +#X obj 199 99 bng 25 250 50 0 empty empty empty 0 -6 0 8 -261681 -1 +-1; +#X obj 291 99 bng 25 250 50 0 empty empty empty 0 -6 0 8 -261681 -1 +-1; +#X text 191 78 start; +#X text 283 77 stop; +#X msg 39 188 0; +#X msg 210 192 0; +#X msg 423 190 stop; +#X msg 378 190 0; +#X obj 404 229 thread2 50; +#X obj 232 229 thread2 15; +#X obj 66 228 thread2 3; +#X msg 133 188 text; +#X msg 302 192 text; +#X msg 470 190 text; +#X obj 16 8 cnv 15 550 40 empty empty thread2 10 22 0 24 -260818 -1 +0; +#X text 173 29 http://www.parasitaere-kapazitaeten.net; +#X obj 65 264 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X obj 231 265 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X obj 403 267 nbx 5 16 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +12 -228992 -1 -1 0 256; +#X text 173 11 flext tutorial \, (C)2002 \, 2003 Thomas Grill; +#X connect 0 0 12 0; +#X connect 1 0 11 0; +#X connect 2 0 6 0; +#X connect 2 0 7 0; +#X connect 2 0 9 0; +#X connect 3 0 0 0; +#X connect 3 0 1 0; +#X connect 3 0 8 0; +#X connect 6 0 12 0; +#X connect 7 0 11 0; +#X connect 8 0 10 0; +#X connect 9 0 10 0; +#X connect 10 0 20 0; +#X connect 11 0 19 0; +#X connect 12 0 18 0; +#X connect 13 0 12 0; +#X connect 14 0 11 0; +#X connect 15 0 10 0; diff --git a/externals/grill/flext/tutorial/readme.txt b/externals/grill/flext/tutorial/readme.txt index 0e445a5a..98221ae7 100644 --- a/externals/grill/flext/tutorial/readme.txt +++ b/externals/grill/flext/tutorial/readme.txt @@ -24,6 +24,13 @@ The recommended order to go through the tutorial examples is the following: and, if needed 7) sndobj* and/or stk* +if you choose to compile with SndObj support you will need the respective library +download from: http://www.may.ie/academic/music/musictec/SndObj/main.html + +if you choose to compile with STK support you will need the respective package and build a library +download from: http://ccrma-www.stanford.edu/software/stk/ + + ---------------------------------------------------------------------------- The package should at least compile (and is tested) with the following compilers: @@ -51,7 +58,17 @@ Max/MSP - MacOS 9: ------------------ o Metrowerks CodeWarrior V6: edit & use the several ".cw" project files +You must have the following "Source Trees" defined: +"flext" - Pointing to the flext main directory +"Cycling74" - Pointing to the Cycling 74 SDK + Max/MSP - MacOSX: ------------------ o Metrowerks CodeWarrior V6: edit & use the several ".cw" project files +You must have the following "Source Trees" defined: +"OS X Volume" - Pointing to your OSX boot drive +"flext" - Pointing to the flext main directory +"Cycling74 OSX" - Pointing to the Cycling 74 SDK for xmax +"MP SDK" - Pointing to the Multiprocessing SDK (for threading support) + diff --git a/externals/grill/flext/tutorial/signal1/signal1.cw b/externals/grill/flext/tutorial/signal1/signal1.cw index 8385296a..9e0d4f91 100644 Binary files a/externals/grill/flext/tutorial/signal1/signal1.cw and b/externals/grill/flext/tutorial/signal1/signal1.cw differ diff --git a/externals/grill/flext/tutorial/signal2/signal2.cw b/externals/grill/flext/tutorial/signal2/signal2.cw index 5199aff1..848b3430 100644 Binary files a/externals/grill/flext/tutorial/signal2/signal2.cw and b/externals/grill/flext/tutorial/signal2/signal2.cw differ diff --git a/externals/grill/flext/tutorial/simple1/simple1.cw b/externals/grill/flext/tutorial/simple1/simple1.cw index 429c07f3..cd344206 100755 Binary files a/externals/grill/flext/tutorial/simple1/simple1.cw and b/externals/grill/flext/tutorial/simple1/simple1.cw differ diff --git a/externals/grill/flext/tutorial/simple2/simple2.cw b/externals/grill/flext/tutorial/simple2/simple2.cw index 02837e57..c622718f 100755 Binary files a/externals/grill/flext/tutorial/simple2/simple2.cw and b/externals/grill/flext/tutorial/simple2/simple2.cw differ diff --git a/externals/grill/flext/tutorial/simple3/simple3.cw b/externals/grill/flext/tutorial/simple3/simple3.cw index d0038bc9..b08661c7 100644 Binary files a/externals/grill/flext/tutorial/simple3/simple3.cw and b/externals/grill/flext/tutorial/simple3/simple3.cw differ diff --git a/externals/grill/flext/tutorial/thread1/thread1.cw b/externals/grill/flext/tutorial/thread1/thread1.cw index 680bdfba..a7fed74e 100644 Binary files a/externals/grill/flext/tutorial/thread1/thread1.cw and b/externals/grill/flext/tutorial/thread1/thread1.cw differ diff --git a/externals/grill/flext/tutorial/thread2/thread2.cw b/externals/grill/flext/tutorial/thread2/thread2.cw index 524ad776..12b28e1a 100755 Binary files a/externals/grill/flext/tutorial/thread2/thread2.cw and b/externals/grill/flext/tutorial/thread2/thread2.cw differ -- cgit v1.2.1