From 992bd94dddb021b297fcf28cb5248cc94f48aaf3 Mon Sep 17 00:00:00 2001 From: jdl Date: Tue, 2 Jul 2002 20:32:59 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r24, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/cxc/; revision=25 --- cx.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 cx.c (limited to 'cx.c') diff --git a/cx.c b/cx.c new file mode 100644 index 0000000..f8020d6 --- /dev/null +++ b/cx.c @@ -0,0 +1,103 @@ + +#ifndef VERSION +#define VERSION "0.04" +#endif + +#ifndef __DATE__ +#define __DATE__ "without using a gnu compiler" +#endif + +#include + + +typedef struct _cxc +{ + t_object x_obj; +} t_cxc; + +static t_class* cxc_class; + +void binshift_setup(); +void ascwave_setup(); +void ascseq_setup(); +void ixprint_setup(); +//void mixer_setup(); +//void makesymbol_setup(); +void bfilt_setup(); +void bfilt2_setup(); +/* void sendOSC_setup(); */ +/* void dumpOSC_setup(); */ +/* void routeOSC_setup(); */ +//void testy_tilde_setup(); +//void garlic_tilde_setup(); +void counter_setup(); +void reson_setup(); +//void serialize_setup(); +void prepend_setup(); +void utime_setup(); +// RNG's +void random1_setup(); +void random_fl_setup(); +void random_icg_setup(); +void random_tw_setup(); +void dist_normal_setup(); + +void ENV_setup(); +void proc_setup(); + +void cxmean_setup(); +void cxavgdev_setup(); +void cxstddev_setup(); + +void mean_tilde_setup(); + +void delta_tilde_setup(); + +static void* cxc_new(t_symbol* s) { + t_cxc *x = (t_cxc *)pd_new(cxc_class); + return (x); +} + +void cxc_setup(void) +{ + cxc_class = class_new(gensym("cxc"), (t_newmethod)cxc_new, 0, + sizeof(t_cxc), 0,0); + ixprint_setup(); + binshift_setup(); + ascwave_setup(); + ascseq_setup(); + // mixer_setup(); + // makesymbol_setup(); + bfilt_setup(); + bfilt2_setup(); +/* sendOSC_setup(); */ +/* dumpOSC_setup(); */ +/* routeOSC_setup(); */ + counter_setup(); + reson_setup(); + //serialize_setup(); + prepend_setup(); + utime_setup(); + // RNG's + random1_setup(); + random_fl_setup(); + random_icg_setup(); + random_tw_setup(); + dist_normal_setup(); + + ENV_setup(); + proc_setup(); + + cxmean_setup(); + cxavgdev_setup(); + cxstddev_setup(); + + mean_tilde_setup(); + + delta_tilde_setup(); + + post("c : jdl@xdv.org ========================================"); + post(" x : ver: "VERSION" ============================================"); + post(" c: compiled: "__DATE__" =================================="); + post("\\"); +} -- cgit v1.2.1