diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-05-14 03:49:55 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-05-14 03:49:55 +0000 |
commit | 41c8a8b33323d85ee9d5a6da4bcadccb93181803 (patch) | |
tree | a014e35be1768462ef877f8338e4ceecdb5fbce8 | |
parent | 2453c05054b69951b301527f1f7b132cff143359 (diff) |
sorted out all the objectclasses in cxc, more or less, now let's try debianizing
svn path=/trunk/externals/cxc/; revision=13541
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | cxavgdev-help.pd (renamed from reference/statistics.pd) | 59 | ||||
-rw-r--r-- | cxc.c | 16 | ||||
-rw-r--r-- | cxc_counter-help.pd | 9 | ||||
-rw-r--r-- | cxc_counter.c (renamed from counter.c) | 4 | ||||
-rw-r--r-- | cxc_prepend-help.pd (renamed from reference/cxc.prepend.pd) | 4 | ||||
-rw-r--r-- | cxc_prepend.c (renamed from prepend.c) | 4 | ||||
-rw-r--r-- | cxc_split-help.pd (renamed from reference/cxc.split.pd) | 4 | ||||
-rw-r--r-- | cxc_split.c (renamed from split.c) | 2 | ||||
-rw-r--r-- | cxmean-help.pd | 119 | ||||
-rw-r--r-- | cxstddev-help.pd | 119 | ||||
-rw-r--r-- | hex2dec-help.pd | 8 | ||||
-rw-r--r-- | ixprint-help.pd | 8 | ||||
-rw-r--r-- | mean~-help.pd | 119 | ||||
-rw-r--r-- | mean~.c | 16 |
15 files changed, 437 insertions, 56 deletions
@@ -5,7 +5,7 @@ LIBRARY_NAME = cxc # add your .c source files to the SOURCES variable, help files will be # included automatically -SOURCES = ENV.c ascseq.c ascwave.c bfilt.c bfilt2.c binshift.c counter.c cxavgdev.c cxmean.c cxstddev.c delta~.c dist_normal.c hex2dec.c ixprint.c mean~.c prepend.c random1.c random1~.c random_fl.c random_fl~.c random_icg.c random_icg~.c random_tw.c reson~.c split.c utime.c +SOURCES = ENV.c ascseq.c ascwave.c bfilt.c bfilt2.c cxc_counter.c cxavgdev.c cxc_prepend.c cxc_split.c cxmean.c cxstddev.c delta~.c dist_normal.c hex2dec.c ixprint.c mean~.c random1.c random1~.c random_fl.c random_fl~.c random_icg.c random_icg~.c random_tw.c reson~.c utime.c # For objects that only build on certain platforms, add those to the SOURCES # line for the right platforms. diff --git a/reference/statistics.pd b/cxavgdev-help.pd index 24d7ca3..d9c75f3 100644 --- a/reference/statistics.pd +++ b/cxavgdev-help.pd @@ -1,4 +1,4 @@ -#N canvas 416 554 622 369 10; +#N canvas 110 368 622 369 10; #X obj 64 102 noise~; #X obj 463 105 mean~ blir; #X obj 21 262 table blir; @@ -47,14 +47,14 @@ #X obj 21 175 tabwrite~ blir; #X msg 21 147 bang; #X obj 356 102 samplerate~; -#X floatatom 356 126 5 0 0; +#X floatatom 356 126 5 0 0 0 - - -; #X obj 356 80 loadbang; -#X floatatom 463 129 8 0 0; +#X floatatom 463 129 8 0 0 0 - - -; #X obj 64 150 +~ 0.1; -#X floatatom 101 127 5 0 0; +#X floatatom 101 127 5 0 0 0 - - -; #X msg 152 218 bang; #X text 44 30 mean~ <arrayname>; -#X floatatom 160 160 5 0 0; +#X floatatom 160 160 5 0 0 0 - - -; #X obj 160 183 t f f; #X text 206 163 set arraysize; #X text 529 130 mean; @@ -64,19 +64,15 @@ #X msg 503 82 ad; #X msg 534 82 sd; #X obj 462 35 mean 1 2 3; -#X floatatom 462 59 5 0 0; +#X floatatom 462 59 5 0 0 0 - - -; #X msg 462 13 1 2 3.6677; -#X obj 316 251 cx.mean blir; -#X floatatom 271 305 8 0 0; +#X floatatom 271 305 8 0 0 0 - - -; #X msg 316 228 mean; #X msg 350 228 ad; -#X obj 446 251 histo; #X obj 21 291 table blor; -#X obj 342 304 cx.avgdev blir; -#X floatatom 341 325 10 0 0; -#X floatatom 461 326 10 0 0; +#X floatatom 341 325 10 0 0 0 - - -; +#X floatatom 461 326 10 0 0 0 - - -; #X obj 392 150 loadbang; -#X obj 460 304 cx.stddev blir; #X obj 316 272 t f f f; #X text 542 36 pd's mean; #X text 544 115 dont need this; @@ -86,6 +82,9 @@ #X msg 429 173 blor; #X msg 20 214 \; blir resize \$1 \;; #X msg 113 270 \; blor resize \$1 \;; +#X obj 460 304 cxstddev blir; +#X obj 342 304 cxavgdev blir; +#X obj 316 251 cxmean blir; #X connect 0 0 10 0; #X connect 1 0 9 0; #X connect 5 0 4 0; @@ -95,26 +94,26 @@ #X connect 11 0 10 1; #X connect 12 0 3 0; #X connect 14 0 15 0; -#X connect 15 0 43 0; -#X connect 15 0 44 0; +#X connect 15 0 39 0; +#X connect 15 0 40 0; #X connect 15 1 3 1; #X connect 19 0 1 0; #X connect 20 0 1 0; #X connect 21 0 1 0; #X connect 22 0 23 0; #X connect 24 0 22 0; -#X connect 25 0 36 0; -#X connect 27 0 25 0; -#X connect 28 0 25 0; -#X connect 31 0 32 0; -#X connect 34 0 42 0; -#X connect 35 0 33 0; -#X connect 36 0 26 0; -#X connect 36 1 31 0; -#X connect 36 2 35 0; -#X connect 39 0 25 0; -#X connect 39 0 31 0; -#X connect 39 0 35 0; -#X connect 40 0 39 0; -#X connect 41 0 40 0; -#X connect 42 0 40 0; +#X connect 26 0 43 0; +#X connect 27 0 43 0; +#X connect 31 0 38 0; +#X connect 32 0 25 0; +#X connect 32 1 42 0; +#X connect 32 2 41 0; +#X connect 35 0 41 0; +#X connect 35 0 42 0; +#X connect 35 0 43 0; +#X connect 36 0 35 0; +#X connect 37 0 36 0; +#X connect 38 0 36 0; +#X connect 41 0 30 0; +#X connect 42 0 29 0; +#X connect 43 0 32 0; @@ -17,7 +17,7 @@ typedef struct _cxc static t_class* cxc_class; -void binshift_setup(); +//void binshift_setup(); void ascwave_setup(); void ascseq_setup(); void ixprint_setup(); @@ -30,11 +30,11 @@ void bfilt2_setup(); /* void routeOSC_setup(); */ //void testy_tilde_setup(); //void garlic_tilde_setup(); -void counter_setup(); +void cxc_counter_setup(); void reson_tilde_setup(); //void serialize_setup(); -void prepend_setup(); -void split_setup(); +void cxc_prepend_setup(); +void cxc_split_setup(); void utime_setup(); // RNG's void random1_setup(); @@ -67,7 +67,7 @@ void cxc_setup(void) cxc_class = class_new(gensym("cxc"), (t_newmethod)cxc_new, 0, sizeof(t_cxc), 0,0); ixprint_setup(); - binshift_setup(); +// binshift_setup(); ascwave_setup(); ascseq_setup(); // mixer_setup(); @@ -77,11 +77,11 @@ void cxc_setup(void) /* sendOSC_setup(); */ /* dumpOSC_setup(); */ /* routeOSC_setup(); */ - counter_setup(); + cxc_counter_setup(); reson_tilde_setup(); //serialize_setup(); - prepend_setup(); - split_setup(); + cxc_prepend_setup(); + cxc_split_setup(); utime_setup(); // RNG's random1_setup(); diff --git a/cxc_counter-help.pd b/cxc_counter-help.pd new file mode 100644 index 0000000..c1833aa --- /dev/null +++ b/cxc_counter-help.pd @@ -0,0 +1,9 @@ +#N canvas 344 237 450 300 10; +#X obj 192 146 cxc_counter; +#X floatatom 194 192 5 0 0 0 - - -; +#X obj 193 90 metro 500; +#X obj 196 61 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X connect 0 0 1 0; +#X connect 2 0 0 0; +#X connect 3 0 2 0; diff --git a/counter.c b/cxc_counter.c index 436cb42..c84f851 100644 --- a/counter.c +++ b/cxc_counter.c @@ -213,9 +213,9 @@ void *counter_new(t_floatarg f, t_floatarg g, t_floatarg h) /* init vals in stru return (x); } -void counter_setup(void) +void cxc_counter_setup(void) { - counter_class = class_new(gensym("counter"), (t_newmethod)counter_new, 0, + counter_class = class_new(gensym("cxc_counter"), (t_newmethod)counter_new, 0, sizeof(t_counter), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); class_addbang(counter_class, (t_method)counter_bang); class_addmethod(counter_class, (t_method)counter_dir, gensym("fl1"), A_FLOAT, 0); diff --git a/reference/cxc.prepend.pd b/cxc_prepend-help.pd index eaa57dc..bc05e5d 100644 --- a/reference/cxc.prepend.pd +++ b/cxc_prepend-help.pd @@ -1,8 +1,8 @@ #N canvas 322 265 450 300 10; #X obj 186 244 print; #X msg 200 102 itsch ni san chi; -#X obj 186 187 cxc.prepend /bla; -#X obj 186 210 cxc.prepend send; +#X obj 186 187 cxc_prepend /bla; +#X obj 186 210 cxc_prepend send; #X floatatom 155 79 5 0 0; #X msg 214 138 qui qua 2 3.4555 "bla ha"; #X text 25 11 prepend arbitrary length lists/anythings with stuff; diff --git a/prepend.c b/cxc_prepend.c index 933f455..c7e186f 100644 --- a/prepend.c +++ b/cxc_prepend.c @@ -109,9 +109,9 @@ static void prepend_set(t_prepend *x, t_symbol *s) x->x_s = s; } -void prepend_setup(void) +void cxc_prepend_setup(void) { - prepend_class = class_new(gensym("prepend"), (t_newmethod)prepend_new, 0, + prepend_class = class_new(gensym("cxc_prepend"), (t_newmethod)prepend_new, 0, sizeof(t_prepend), 0,A_DEFSYM,NULL); class_addlist(prepend_class, prepend_list); class_addanything(prepend_class,prepend_anything); diff --git a/reference/cxc.split.pd b/cxc_split-help.pd index 9306dbd..26442d7 100644 --- a/reference/cxc.split.pd +++ b/cxc_split-help.pd @@ -13,8 +13,8 @@ #X msg 322 145 set azwejdgb; #X obj 336 236 print; #X text 320 125 only the 1st character is used; -#X obj 336 205 cxc.split .; -#X obj 25 196 cxc.split .; +#X obj 336 205 cxc_split .; +#X obj 25 196 cxc_split .; #X text 110 123 set the delimiter; #X obj 368 308 unpack s s s s; #X symbolatom 367 347 10 0 0 0 - - -; @@ -163,7 +163,7 @@ static void split_set(t_split *x, t_symbol *s) x->x_splitter = t; } -void split_setup(void) +void cxc_split_setup(void) { split_class = class_new(gensym("cxc_split"), (t_newmethod)split_new, 0, sizeof(t_split), 0,A_DEFSYM,NULL); diff --git a/cxmean-help.pd b/cxmean-help.pd new file mode 100644 index 0000000..d9c75f3 --- /dev/null +++ b/cxmean-help.pd @@ -0,0 +1,119 @@ +#N canvas 110 368 622 369 10; +#X obj 64 102 noise~; +#X obj 463 105 mean~ blir; +#X obj 21 262 table blir; +#N canvas 162 270 331 246 fillary 0; +#X obj 34 53 until; +#X obj 34 79 count; +#X msg 85 27 bang; +#X obj 34 105 - 1; +#X obj 34 130 t b f; +#X obj 34 166 random_fl -1 1; +#X obj 162 16 loadbang; +#X obj 192 64 utime; +#X obj 200 100 +; +#X msg 200 124 seed \$1; +#X obj 162 39 t b b b; +#X obj 232 13 inlet; +#X obj 120 65 t b b; +#X msg 34 27 1000; +#X msg 132 108 set \$1; +#X obj 280 13 inlet; +#X obj 178 165 random_icg -1 1; +#X obj 34 192 tabwrite blor; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 1 1; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 4 1 17 1; +#X connect 5 0 17 0; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 7 1 8 1; +#X connect 8 0 9 0; +#X connect 9 0 5 0; +#X connect 9 0 16 0; +#X connect 10 0 12 0; +#X connect 10 1 7 0; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 12 1 2 0; +#X connect 13 0 0 0; +#X connect 14 0 13 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X restore 152 241 pd fillary; +#X obj 21 175 tabwrite~ blir; +#X msg 21 147 bang; +#X obj 356 102 samplerate~; +#X floatatom 356 126 5 0 0 0 - - -; +#X obj 356 80 loadbang; +#X floatatom 463 129 8 0 0 0 - - -; +#X obj 64 150 +~ 0.1; +#X floatatom 101 127 5 0 0 0 - - -; +#X msg 152 218 bang; +#X text 44 30 mean~ <arrayname>; +#X floatatom 160 160 5 0 0 0 - - -; +#X obj 160 183 t f f; +#X text 206 163 set arraysize; +#X text 529 130 mean; +#X text 43 10 this is supposed to calculate the signal mean of an array. +; +#X msg 463 82 mean; +#X msg 503 82 ad; +#X msg 534 82 sd; +#X obj 462 35 mean 1 2 3; +#X floatatom 462 59 5 0 0 0 - - -; +#X msg 462 13 1 2 3.6677; +#X floatatom 271 305 8 0 0 0 - - -; +#X msg 316 228 mean; +#X msg 350 228 ad; +#X obj 21 291 table blor; +#X floatatom 341 325 10 0 0 0 - - -; +#X floatatom 461 326 10 0 0 0 - - -; +#X obj 392 150 loadbang; +#X obj 316 272 t f f f; +#X text 542 36 pd's mean; +#X text 544 115 dont need this; +#X msg 392 218 set \$1; +#X obj 392 194 symbol; +#X msg 392 173 blir; +#X msg 429 173 blor; +#X msg 20 214 \; blir resize \$1 \;; +#X msg 113 270 \; blor resize \$1 \;; +#X obj 460 304 cxstddev blir; +#X obj 342 304 cxavgdev blir; +#X obj 316 251 cxmean blir; +#X connect 0 0 10 0; +#X connect 1 0 9 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X connect 10 0 4 0; +#X connect 11 0 10 1; +#X connect 12 0 3 0; +#X connect 14 0 15 0; +#X connect 15 0 39 0; +#X connect 15 0 40 0; +#X connect 15 1 3 1; +#X connect 19 0 1 0; +#X connect 20 0 1 0; +#X connect 21 0 1 0; +#X connect 22 0 23 0; +#X connect 24 0 22 0; +#X connect 26 0 43 0; +#X connect 27 0 43 0; +#X connect 31 0 38 0; +#X connect 32 0 25 0; +#X connect 32 1 42 0; +#X connect 32 2 41 0; +#X connect 35 0 41 0; +#X connect 35 0 42 0; +#X connect 35 0 43 0; +#X connect 36 0 35 0; +#X connect 37 0 36 0; +#X connect 38 0 36 0; +#X connect 41 0 30 0; +#X connect 42 0 29 0; +#X connect 43 0 32 0; diff --git a/cxstddev-help.pd b/cxstddev-help.pd new file mode 100644 index 0000000..d9c75f3 --- /dev/null +++ b/cxstddev-help.pd @@ -0,0 +1,119 @@ +#N canvas 110 368 622 369 10; +#X obj 64 102 noise~; +#X obj 463 105 mean~ blir; +#X obj 21 262 table blir; +#N canvas 162 270 331 246 fillary 0; +#X obj 34 53 until; +#X obj 34 79 count; +#X msg 85 27 bang; +#X obj 34 105 - 1; +#X obj 34 130 t b f; +#X obj 34 166 random_fl -1 1; +#X obj 162 16 loadbang; +#X obj 192 64 utime; +#X obj 200 100 +; +#X msg 200 124 seed \$1; +#X obj 162 39 t b b b; +#X obj 232 13 inlet; +#X obj 120 65 t b b; +#X msg 34 27 1000; +#X msg 132 108 set \$1; +#X obj 280 13 inlet; +#X obj 178 165 random_icg -1 1; +#X obj 34 192 tabwrite blor; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 1 1; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 4 1 17 1; +#X connect 5 0 17 0; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 7 1 8 1; +#X connect 8 0 9 0; +#X connect 9 0 5 0; +#X connect 9 0 16 0; +#X connect 10 0 12 0; +#X connect 10 1 7 0; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 12 1 2 0; +#X connect 13 0 0 0; +#X connect 14 0 13 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X restore 152 241 pd fillary; +#X obj 21 175 tabwrite~ blir; +#X msg 21 147 bang; +#X obj 356 102 samplerate~; +#X floatatom 356 126 5 0 0 0 - - -; +#X obj 356 80 loadbang; +#X floatatom 463 129 8 0 0 0 - - -; +#X obj 64 150 +~ 0.1; +#X floatatom 101 127 5 0 0 0 - - -; +#X msg 152 218 bang; +#X text 44 30 mean~ <arrayname>; +#X floatatom 160 160 5 0 0 0 - - -; +#X obj 160 183 t f f; +#X text 206 163 set arraysize; +#X text 529 130 mean; +#X text 43 10 this is supposed to calculate the signal mean of an array. +; +#X msg 463 82 mean; +#X msg 503 82 ad; +#X msg 534 82 sd; +#X obj 462 35 mean 1 2 3; +#X floatatom 462 59 5 0 0 0 - - -; +#X msg 462 13 1 2 3.6677; +#X floatatom 271 305 8 0 0 0 - - -; +#X msg 316 228 mean; +#X msg 350 228 ad; +#X obj 21 291 table blor; +#X floatatom 341 325 10 0 0 0 - - -; +#X floatatom 461 326 10 0 0 0 - - -; +#X obj 392 150 loadbang; +#X obj 316 272 t f f f; +#X text 542 36 pd's mean; +#X text 544 115 dont need this; +#X msg 392 218 set \$1; +#X obj 392 194 symbol; +#X msg 392 173 blir; +#X msg 429 173 blor; +#X msg 20 214 \; blir resize \$1 \;; +#X msg 113 270 \; blor resize \$1 \;; +#X obj 460 304 cxstddev blir; +#X obj 342 304 cxavgdev blir; +#X obj 316 251 cxmean blir; +#X connect 0 0 10 0; +#X connect 1 0 9 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X connect 10 0 4 0; +#X connect 11 0 10 1; +#X connect 12 0 3 0; +#X connect 14 0 15 0; +#X connect 15 0 39 0; +#X connect 15 0 40 0; +#X connect 15 1 3 1; +#X connect 19 0 1 0; +#X connect 20 0 1 0; +#X connect 21 0 1 0; +#X connect 22 0 23 0; +#X connect 24 0 22 0; +#X connect 26 0 43 0; +#X connect 27 0 43 0; +#X connect 31 0 38 0; +#X connect 32 0 25 0; +#X connect 32 1 42 0; +#X connect 32 2 41 0; +#X connect 35 0 41 0; +#X connect 35 0 42 0; +#X connect 35 0 43 0; +#X connect 36 0 35 0; +#X connect 37 0 36 0; +#X connect 38 0 36 0; +#X connect 41 0 30 0; +#X connect 42 0 29 0; +#X connect 43 0 32 0; diff --git a/hex2dec-help.pd b/hex2dec-help.pd new file mode 100644 index 0000000..0bd39ce --- /dev/null +++ b/hex2dec-help.pd @@ -0,0 +1,8 @@ +#N canvas 0 22 450 300 10; +#X obj 138 153 hex2dec; +#X floatatom 137 189 5 0 0 0 - - -; +#X msg 139 105 symbol fff; +#X msg 237 123 123; +#X connect 0 0 1 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; diff --git a/ixprint-help.pd b/ixprint-help.pd new file mode 100644 index 0000000..b6b0949 --- /dev/null +++ b/ixprint-help.pd @@ -0,0 +1,8 @@ +#N canvas 160 134 450 300 10; +#X obj 123 115 ixprint; +#X msg 122 59 1 2 3; +#X obj 173 83 pointer; +#X msg 172 54 bang; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 2 0; diff --git a/mean~-help.pd b/mean~-help.pd new file mode 100644 index 0000000..d9c75f3 --- /dev/null +++ b/mean~-help.pd @@ -0,0 +1,119 @@ +#N canvas 110 368 622 369 10; +#X obj 64 102 noise~; +#X obj 463 105 mean~ blir; +#X obj 21 262 table blir; +#N canvas 162 270 331 246 fillary 0; +#X obj 34 53 until; +#X obj 34 79 count; +#X msg 85 27 bang; +#X obj 34 105 - 1; +#X obj 34 130 t b f; +#X obj 34 166 random_fl -1 1; +#X obj 162 16 loadbang; +#X obj 192 64 utime; +#X obj 200 100 +; +#X msg 200 124 seed \$1; +#X obj 162 39 t b b b; +#X obj 232 13 inlet; +#X obj 120 65 t b b; +#X msg 34 27 1000; +#X msg 132 108 set \$1; +#X obj 280 13 inlet; +#X obj 178 165 random_icg -1 1; +#X obj 34 192 tabwrite blor; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 1 1; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 4 1 17 1; +#X connect 5 0 17 0; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 7 1 8 1; +#X connect 8 0 9 0; +#X connect 9 0 5 0; +#X connect 9 0 16 0; +#X connect 10 0 12 0; +#X connect 10 1 7 0; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 12 1 2 0; +#X connect 13 0 0 0; +#X connect 14 0 13 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X restore 152 241 pd fillary; +#X obj 21 175 tabwrite~ blir; +#X msg 21 147 bang; +#X obj 356 102 samplerate~; +#X floatatom 356 126 5 0 0 0 - - -; +#X obj 356 80 loadbang; +#X floatatom 463 129 8 0 0 0 - - -; +#X obj 64 150 +~ 0.1; +#X floatatom 101 127 5 0 0 0 - - -; +#X msg 152 218 bang; +#X text 44 30 mean~ <arrayname>; +#X floatatom 160 160 5 0 0 0 - - -; +#X obj 160 183 t f f; +#X text 206 163 set arraysize; +#X text 529 130 mean; +#X text 43 10 this is supposed to calculate the signal mean of an array. +; +#X msg 463 82 mean; +#X msg 503 82 ad; +#X msg 534 82 sd; +#X obj 462 35 mean 1 2 3; +#X floatatom 462 59 5 0 0 0 - - -; +#X msg 462 13 1 2 3.6677; +#X floatatom 271 305 8 0 0 0 - - -; +#X msg 316 228 mean; +#X msg 350 228 ad; +#X obj 21 291 table blor; +#X floatatom 341 325 10 0 0 0 - - -; +#X floatatom 461 326 10 0 0 0 - - -; +#X obj 392 150 loadbang; +#X obj 316 272 t f f f; +#X text 542 36 pd's mean; +#X text 544 115 dont need this; +#X msg 392 218 set \$1; +#X obj 392 194 symbol; +#X msg 392 173 blir; +#X msg 429 173 blor; +#X msg 20 214 \; blir resize \$1 \;; +#X msg 113 270 \; blor resize \$1 \;; +#X obj 460 304 cxstddev blir; +#X obj 342 304 cxavgdev blir; +#X obj 316 251 cxmean blir; +#X connect 0 0 10 0; +#X connect 1 0 9 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X connect 10 0 4 0; +#X connect 11 0 10 1; +#X connect 12 0 3 0; +#X connect 14 0 15 0; +#X connect 15 0 39 0; +#X connect 15 0 40 0; +#X connect 15 1 3 1; +#X connect 19 0 1 0; +#X connect 20 0 1 0; +#X connect 21 0 1 0; +#X connect 22 0 23 0; +#X connect 24 0 22 0; +#X connect 26 0 43 0; +#X connect 27 0 43 0; +#X connect 31 0 38 0; +#X connect 32 0 25 0; +#X connect 32 1 42 0; +#X connect 32 2 41 0; +#X connect 35 0 41 0; +#X connect 35 0 42 0; +#X connect 35 0 43 0; +#X connect 36 0 35 0; +#X connect 37 0 36 0; +#X connect 38 0 36 0; +#X connect 41 0 30 0; +#X connect 42 0 29 0; +#X connect 43 0 32 0; @@ -24,7 +24,7 @@ typedef struct _cxmean int x_nsampsintab; } t_cxmean; -void *cxmean_new(t_symbol *s) +static void *cxmean_new(t_symbol *s) { t_cxmean *x = (t_cxmean *)pd_new(cxmean_class); x->x_arrayname = s; @@ -52,7 +52,7 @@ static void cxmean_set(t_cxmean *x, t_symbol *s) else garray_usedindsp(a); } -void cxmean_bang(t_cxmean *x) +static void cxmean_bang(t_cxmean *x) { outlet_float(x->x_obj.ob_outlet,x->x_mean); } @@ -123,7 +123,7 @@ typedef struct _cxavgdev int x_nsampsintab; } t_cxavgdev; -void *cxavgdev_new(t_symbol *s) +static void *cxavgdev_new(t_symbol *s) { t_cxavgdev *x = (t_cxavgdev *)pd_new(cxavgdev_class); x->x_arrayname = s; @@ -151,7 +151,7 @@ static void cxavgdev_set(t_cxavgdev *x, t_symbol *s) else garray_usedindsp(a); } -void cxavgdev_bang(t_cxavgdev *x) +static void cxavgdev_bang(t_cxavgdev *x) { outlet_float(x->x_obj.ob_outlet,x->x_avgdev); } @@ -227,7 +227,7 @@ typedef struct _cxstddev int x_nsampsintab; } t_cxstddev; -void *cxstddev_new(t_symbol *s) +static void *cxstddev_new(t_symbol *s) { t_cxstddev *x = (t_cxstddev *)pd_new(cxstddev_class); x->x_arrayname = s; @@ -255,7 +255,7 @@ static void cxstddev_set(t_cxstddev *x, t_symbol *s) else garray_usedindsp(a); } -void cxstddev_bang(t_cxstddev *x) +static void cxstddev_bang(t_cxstddev *x) { outlet_float(x->x_obj.ob_outlet,x->x_stddev); } @@ -328,7 +328,7 @@ typedef struct _mean_tilde int x_nsampsintab; } t_mean_tilde; -void *mean_tilde_new(t_symbol *s) +static void *mean_tilde_new(t_symbol *s) { t_mean_tilde *x = (t_mean_tilde *)pd_new(mean_tilde_class); x->x_arrayname = s; @@ -384,7 +384,7 @@ static void mean_tilde_dsp(t_mean_tilde *x, t_signal **sp) dsp_add(mean_tilde_perform, 2, x, sp[0]->s_n); } -void mean_tilde_bang(t_mean_tilde *x) +static void mean_tilde_bang(t_mean_tilde *x) { outlet_float(x->x_obj.ob_outlet,x->x_mean); } |