From 84de6b7d71cc72c7c1e52edbad02563bbb3e0867 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 22 Sep 2006 09:20:21 +0000 Subject: small fixes for tutorial examples fixed help methods fixed typos, dates, contact info added typed flext::NewAligned svn path=/trunk/; revision=6000 --- externals/grill/flext/tutorial/adv2/main.cpp | 11 +-- externals/grill/flext/tutorial/adv3/main.cpp | 10 +-- externals/grill/flext/tutorial/pd/ex-attr1.pd | 57 +++++++-------- externals/grill/flext/tutorial/pd/ex-attr2.pd | 93 ++++++++++++------------- externals/grill/flext/tutorial/pd/ex-simple1.pd | 28 ++++---- externals/grill/flext/tutorial/pd/ex-simple2.pd | 37 +++++----- externals/grill/flext/tutorial/pd/ex-timer1.pd | 74 ++++++++++---------- externals/grill/flext/tutorial/simple3/main.cpp | 12 ++-- externals/grill/flext/tutorial/sndobj1/main.cpp | 4 +- externals/grill/flext/tutorial/stk1/main.cpp | 4 +- externals/grill/flext/tutorial/stk2/main.cpp | 4 +- 11 files changed, 162 insertions(+), 172 deletions(-) (limited to 'externals') diff --git a/externals/grill/flext/tutorial/adv2/main.cpp b/externals/grill/flext/tutorial/adv2/main.cpp index 9174d3b1..6558f5d1 100644 --- a/externals/grill/flext/tutorial/adv2/main.cpp +++ b/externals/grill/flext/tutorial/adv2/main.cpp @@ -1,7 +1,7 @@ /* flext tutorial - advanced 2 -Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -22,8 +22,8 @@ All objects [adv2] will share the same database, saving memory. #include // check for appropriate flext version -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) -#error You need at least flext version 0.4.1 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500) +#error You need at least flext version 0.5.0 #endif class adv2: @@ -40,7 +40,7 @@ protected: void m_tag_and_int(int i); void m_sym(t_symbol *s); - virtual void m_help(); + void m_help(); private: // define the _static_ class setup function @@ -49,6 +49,7 @@ private: FLEXT_CALLBACK(m_tag) FLEXT_CALLBACK_I(m_tag_and_int) FLEXT_CALLBACK_S(m_sym) + FLEXT_CALLBACK(m_help) }; // instantiate the class (constructor takes no arguments) @@ -72,6 +73,8 @@ void adv2::setup(t_classid c) FLEXT_CADDMETHOD_I(c,0,"hula",m_tag_and_int); FLEXT_CADDMETHOD(c,0,m_sym); + + FLEXT_CADDMETHOD_(c,0,"help",m_help); } void adv2::m_tag() diff --git a/externals/grill/flext/tutorial/adv3/main.cpp b/externals/grill/flext/tutorial/adv3/main.cpp index ae557e26..77f886d7 100644 --- a/externals/grill/flext/tutorial/adv3/main.cpp +++ b/externals/grill/flext/tutorial/adv3/main.cpp @@ -1,7 +1,7 @@ /* flext tutorial - advanced 3 -Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -30,8 +30,8 @@ Apart from that you'll notice several differences to the original C object: #include // check for appropriate flext version -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) -#error You need at least flext version 0.4.1 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 501) +#error You need at least flext version 0.5.1 #endif class adv3: @@ -147,7 +147,7 @@ private: // instantiate the class (constructor has a variable argument list) // let "counter" be an alternative name -// before the colon define the name of the path to the help file -FLEXT_NEW_V("help, adv3 counter",adv3) +// after the colon define the path/name of the help file (a path has a trailing /, a file has not) +FLEXT_NEW_V("adv3 counter,help/",adv3) diff --git a/externals/grill/flext/tutorial/pd/ex-attr1.pd b/externals/grill/flext/tutorial/pd/ex-attr1.pd index 1a3ee6d8..27ab0bb6 100644 --- a/externals/grill/flext/tutorial/pd/ex-attr1.pd +++ b/externals/grill/flext/tutorial/pd/ex-attr1.pd @@ -1,34 +1,31 @@ -#N canvas 70 150 690 461 12; -#X msg 160 85 help; -#X obj 59 321 attr1 @arg 3; -#X text 114 298 attribute as a creation arg; -#X msg 160 123 getattributes; -#X text 167 344 there is one additional outlet; -#X text 167 359 for all attribute-enabled objects; -#X obj 150 392 print; -#X msg 160 166 getarg; -#X text 12 117 trigger output; -#X msg 160 228 arg \$1; -#X text 230 216 set attribute "arg"; -#X text 295 123 query object attributes (watch console); -#X text 228 167 query attribute "arg" (watch console); +#N canvas 70 150 694 465 12; +#X obj 59 296 attr1 @arg 3; +#X text 114 273 attribute as a creation arg; +#X msg 160 98 getattributes; +#X text 167 319 there is one additional outlet; +#X text 167 334 for all attribute-enabled objects; +#X obj 150 367 print; +#X msg 160 141 getarg; +#X text 12 92 trigger output; +#X msg 160 203 arg \$1; +#X text 230 191 set attribute "arg"; +#X text 295 98 query object attributes (watch console); +#X text 228 142 query attribute "arg" (watch console); #X obj 16 8 cnv 15 550 40 empty empty attr1 10 22 0 24 -260818 -1 0 ; #X text 175 28 http://grrrr.org; -#X text 206 85 get some "help"; -#X text 26 413 result; -#X obj 23 139 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 109 256; -#X obj 29 395 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 --228992 -1 -1 143 256; -#X obj 161 206 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 --1 -1 34 256; +#X text 26 388 result; +#X obj 23 114 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; +#X obj 29 370 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 +-228992 -1 -1 0 256; +#X obj 161 181 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; #X text 175 10 flext tutorial \, (C)2002-2006 Thomas Grill; -#X connect 0 0 1 0; -#X connect 1 0 18 0; -#X connect 1 1 6 0; -#X connect 3 0 1 0; -#X connect 7 0 1 0; -#X connect 9 0 1 0; -#X connect 17 0 1 0; -#X connect 19 0 9 0; +#X connect 0 0 16 0; +#X connect 0 1 5 0; +#X connect 2 0 0 0; +#X connect 6 0 0 0; +#X connect 8 0 0 0; +#X connect 15 0 0 0; +#X connect 17 0 8 0; diff --git a/externals/grill/flext/tutorial/pd/ex-attr2.pd b/externals/grill/flext/tutorial/pd/ex-attr2.pd index 40130968..4e377725 100644 --- a/externals/grill/flext/tutorial/pd/ex-attr2.pd +++ b/externals/grill/flext/tutorial/pd/ex-attr2.pd @@ -1,50 +1,47 @@ -#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; -#X text 265 372 for all attribute-enabled objects; -#X obj 247 396 print; -#X msg 23 155 getarg; -#X text 67 84 get some help; -#X text 15 249 trigger output; -#X msg 271 294 arg \$1; -#X text 160 118 query object attributes (watch console); -#X msg 96 155 getop; -#X obj 159 337 attr2 @op +; -#X text 252 155 query attributes; -#X text 333 210 set attributes; -#X msg 169 200 op +; -#X msg 168 225 op -; -#X msg 219 200 op *; -#X msg 269 224 op **; -#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 32 24 -260818 -1 -0; +#N canvas 364 29 620 426 12; +#X msg 22 88 getattributes; +#X text 264 326 there is one additional outlet; +#X text 264 341 for all attribute-enabled objects; +#X obj 246 365 print; +#X msg 22 124 getarg; +#X text 14 218 trigger output; +#X msg 270 263 arg \$1; +#X text 159 87 query object attributes (watch console); +#X msg 95 124 getop; +#X obj 158 306 attr2 @op +; +#X text 251 124 query attributes; +#X text 332 179 set attributes; +#X msg 168 169 op +; +#X msg 167 194 op -; +#X msg 218 169 op *; +#X msg 268 193 op **; +#X msg 268 169 op =; +#X msg 218 193 op /; +#X msg 157 124 getresult; +#X obj 16 8 cnv 15 550 40 empty empty attr2 10 22 0 24 -260818 -1 0 +; #X text 173 28 http://grrrr.org; -#X text 91 398 result; -#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 90 367 result; +#X obj 22 240 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; +#X obj 270 242 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681 +-1 -1 0 256; +#X obj 150 367 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 +-228992 -1 -1 0 256; #X text 171 10 flext tutorial \, (C)2002-2006 Thomas Grill; -#X text 328 274 set argument; -#X connect 0 0 11 0; -#X connect 1 0 11 0; -#X connect 5 0 11 0; -#X connect 8 0 11 0; -#X connect 10 0 11 0; -#X connect 11 0 26 0; -#X connect 11 1 4 0; -#X connect 14 0 11 0; -#X connect 15 0 11 0; -#X connect 16 0 11 0; -#X connect 17 0 11 0; -#X connect 18 0 11 0; -#X connect 19 0 11 0; -#X connect 20 0 11 0; -#X connect 24 0 11 0; -#X connect 25 0 8 0; +#X text 327 243 set argument; +#X connect 0 0 9 0; +#X connect 4 0 9 0; +#X connect 6 0 9 0; +#X connect 8 0 9 0; +#X connect 9 0 24 0; +#X connect 9 1 3 0; +#X connect 12 0 9 0; +#X connect 13 0 9 0; +#X connect 14 0 9 0; +#X connect 15 0 9 0; +#X connect 16 0 9 0; +#X connect 17 0 9 0; +#X connect 18 0 9 0; +#X connect 22 0 9 0; +#X connect 23 0 6 0; diff --git a/externals/grill/flext/tutorial/pd/ex-simple1.pd b/externals/grill/flext/tutorial/pd/ex-simple1.pd index 3406595f..271afd0b 100644 --- a/externals/grill/flext/tutorial/pd/ex-simple1.pd +++ b/externals/grill/flext/tutorial/pd/ex-simple1.pd @@ -1,16 +1,12 @@ -#N canvas 85 178 590 226 12; -#X msg 29 92 help; -#X text 203 169 inverse; -#X text 169 96 input; -#X obj 113 131 simple1; -#X obj 16 8 cnv 15 550 40 empty empty simple1 10 22 0 24 -260818 -1 -0; -#X text 167 30 http://grrrr.org; -#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 114 170 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-2006 Thomas Grill; -#X connect 0 0 3 0; -#X connect 3 0 7 0; -#X connect 6 0 3 0; +#N canvas 85 178 594 230 12; +#X obj 40 129 simple1; +#X obj 16 8 cnv 15 550 40 empty empty simple1 10 22 0 24 -260818 -1 +0; +#X text 167 30 http://grrrr.org; +#X obj 41 94 nbx 4 16 -999 999 0 0 empty empty input 0 -6 0 12 -261681 +-1 -1 35 256; +#X obj 39 171 nbx 7 16 -1e+37 1e+37 0 0 empty empty inverse 0 -6 0 +12 -228992 -1 -1 0.0285714 256; +#X text 167 10 flext tutorial \, (C)2002-2006 Thomas Grill; +#X connect 0 0 4 0; +#X connect 3 0 0 0; diff --git a/externals/grill/flext/tutorial/pd/ex-simple2.pd b/externals/grill/flext/tutorial/pd/ex-simple2.pd index d3ac2a19..c379cd5b 100644 --- a/externals/grill/flext/tutorial/pd/ex-simple2.pd +++ b/externals/grill/flext/tutorial/pd/ex-simple2.pd @@ -1,21 +1,16 @@ -#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://grrrr.org; -#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-2006 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 599 317 12; +#X obj 42 196 simple2 3; +#X text 121 177 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://grrrr.org; +#X obj 41 110 nbx 4 16 -999 999 0 0 empty empty triggering 0 -6 0 12 +-261681 -1 -1 0 256; +#X obj 148 110 nbx 4 16 -999 999 0 0 empty empty non-triggering 0 -6 +0 12 -261681 -1 -1 0 256; +#X obj 42 239 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12 +-228992 -1 -1 0 256; +#X text 167 11 flext tutorial \, (C)2002-2006 Thomas Grill; +#X connect 0 0 6 0; +#X connect 4 0 0 0; +#X connect 5 0 0 1; diff --git a/externals/grill/flext/tutorial/pd/ex-timer1.pd b/externals/grill/flext/tutorial/pd/ex-timer1.pd index 8192d1b8..303d8f26 100755 --- a/externals/grill/flext/tutorial/pd/ex-timer1.pd +++ b/externals/grill/flext/tutorial/pd/ex-timer1.pd @@ -1,6 +1,5 @@ -#N canvas 110 259 821 364 12; -#X msg 29 92 help; -#X obj 16 8 cnv 15 550 40 empty empty timer1 10 22 32 24 -260818 -1 +#N canvas 110 259 825 368 12; +#X obj 16 8 cnv 15 550 40 empty empty timer1 10 22 0 24 -260818 -1 0; #X text 167 30 http://grrrr.org; #X text 167 10 flext tutorial \, (C)2003-2006 Thomas Grill; @@ -10,24 +9,24 @@ #X msg 176 104 resetB; #X msg 260 147 oneshotA \$1; #X obj 259 124 f 100; -#X obj 303 107 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 -10 -262144 -1 -1 0 256; -#X obj 260 105 bng 15 250 50 0 empty empty empty 0 -6 32 8 -24198 -1 +#X obj 303 107 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 +-262144 -1 -1 0 256; +#X obj 260 105 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X obj 382 124 f 100; -#X obj 426 107 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 -10 -262144 -1 -1 0 256; -#X obj 383 105 bng 15 250 50 0 empty empty empty 0 -6 32 8 -24198 -1 +#X obj 426 107 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 +-262144 -1 -1 0 256; +#X obj 383 105 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X obj 515 124 f 100; -#X obj 559 107 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 -10 -262144 -1 -1 0 256; -#X obj 516 105 bng 15 250 50 0 empty empty empty 0 -6 32 8 -24198 -1 +#X obj 559 107 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 +-262144 -1 -1 0 256; +#X obj 516 105 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X obj 652 123 f 100; -#X obj 696 106 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 -10 -262144 -1 -1 0 256; -#X obj 653 104 bng 15 250 50 0 empty empty empty 0 -6 32 8 -24198 -1 +#X obj 696 106 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 +-262144 -1 -1 0 256; +#X obj 653 104 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X msg 383 147 oneshotB \$1; #X msg 516 147 periodicA \$1; @@ -39,26 +38,25 @@ #X msg 30 191 getostime; #X text 106 162 get time; #X text 127 191 get OS time; -#X connect 0 0 4 0; -#X connect 4 0 5 0; -#X connect 4 1 5 0; -#X connect 6 0 4 0; -#X connect 7 0 4 0; -#X connect 8 0 4 0; -#X connect 9 0 8 0; -#X connect 10 0 9 1; -#X connect 11 0 9 0; -#X connect 12 0 21 0; -#X connect 13 0 12 1; -#X connect 14 0 12 0; -#X connect 15 0 22 0; -#X connect 16 0 15 1; -#X connect 17 0 15 0; -#X connect 18 0 23 0; -#X connect 19 0 18 1; -#X connect 20 0 18 0; -#X connect 21 0 4 0; -#X connect 22 0 4 0; -#X connect 23 0 4 0; -#X connect 27 0 4 0; -#X connect 28 0 4 0; +#X connect 3 0 4 0; +#X connect 3 1 4 0; +#X connect 5 0 3 0; +#X connect 6 0 3 0; +#X connect 7 0 3 0; +#X connect 8 0 7 0; +#X connect 9 0 8 1; +#X connect 10 0 8 0; +#X connect 11 0 20 0; +#X connect 12 0 11 1; +#X connect 13 0 11 0; +#X connect 14 0 21 0; +#X connect 15 0 14 1; +#X connect 16 0 14 0; +#X connect 17 0 22 0; +#X connect 18 0 17 1; +#X connect 19 0 17 0; +#X connect 20 0 3 0; +#X connect 21 0 3 0; +#X connect 22 0 3 0; +#X connect 26 0 3 0; +#X connect 27 0 3 0; diff --git a/externals/grill/flext/tutorial/simple3/main.cpp b/externals/grill/flext/tutorial/simple3/main.cpp index 33b81032..d1630e77 100644 --- a/externals/grill/flext/tutorial/simple3/main.cpp +++ b/externals/grill/flext/tutorial/simple3/main.cpp @@ -1,7 +1,7 @@ /* flext tutorial - simple 3 -Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -15,8 +15,8 @@ This is an example of an object digesting several "tagged" messages #include // check for appropriate flext version -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 400) -#error You need at least flext version 0.4.0 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500) +#error You need at least flext version 0.5.0 #endif class simple3: @@ -34,13 +34,15 @@ protected: void m_sym(t_symbol *s); // override default flext help function - virtual void m_help(); + void m_help(); private: FLEXT_CALLBACK(m_tag) // callback for method "m_tag" (no arguments) FLEXT_CALLBACK_I(m_tag_and_int) // callback for method "m_tag_and_int" (int arguments) FLEXT_CALLBACK_S(m_sym) // callback for method "m_sym" (with one symbol argument) + + FLEXT_CALLBACK(m_help) // callback for method "m_help" (no arguments) }; // instantiate the class (constructor takes no arguments) @@ -59,6 +61,8 @@ simple3::simple3() FLEXT_ADDMETHOD_I(0,"hula",m_tag_and_int); // register method for tag "hula" and int argument FLEXT_ADDMETHOD(0,m_sym); // register method for all other symbols + + FLEXT_ADDMETHOD_(0,"help",m_help); // register method for "help" message } void simple3::m_tag() diff --git a/externals/grill/flext/tutorial/sndobj1/main.cpp b/externals/grill/flext/tutorial/sndobj1/main.cpp index e4f3f347..d5587c73 100644 --- a/externals/grill/flext/tutorial/sndobj1/main.cpp +++ b/externals/grill/flext/tutorial/sndobj1/main.cpp @@ -1,7 +1,7 @@ /* flext tutorial - sndobj 1 -Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -21,7 +21,7 @@ This external features simple stereo pitch shifting. #include #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) -#error You need at least flext version 0.4.1 +#error You need at least flext version 0.4.1 with sndobj support #endif diff --git a/externals/grill/flext/tutorial/stk1/main.cpp b/externals/grill/flext/tutorial/stk1/main.cpp index 564ad1a4..45f39cd9 100644 --- a/externals/grill/flext/tutorial/stk1/main.cpp +++ b/externals/grill/flext/tutorial/stk1/main.cpp @@ -1,7 +1,7 @@ /* flext tutorial - stk 1 -Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -22,7 +22,7 @@ the respective platform (e.g. __OS_WINDOWS__ and __LITTLE_ENDIAN__ for Windows) #include #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) -#error You need at least flext version 0.4.1 +#error You need at least flext version 0.4.1 with STK support #endif #include "Noise.h" diff --git a/externals/grill/flext/tutorial/stk2/main.cpp b/externals/grill/flext/tutorial/stk2/main.cpp index 8189f32a..0e740f60 100644 --- a/externals/grill/flext/tutorial/stk2/main.cpp +++ b/externals/grill/flext/tutorial/stk2/main.cpp @@ -1,7 +1,7 @@ /* flext tutorial - stk 2 -Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -22,7 +22,7 @@ the respective platform (e.g. __OS_WINDOWS__ and __LITTLE_ENDIAN__ for Windows) #include #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) -#error You need at least flext version 0.4.1 +#error You need at least flext version 0.4.1 with STK support #endif #include "PitShift.h" -- cgit v1.2.1