aboutsummaryrefslogtreecommitdiff
path: root/source/sIgpAck.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-09 21:24:28 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-09 21:24:28 +0000
commitd449d31030cfc4a3e06858bf877dcbfacad59f74 (patch)
treee7d5c4b2359fdb7e7727c3ea72ca250ca5275e2d /source/sIgpAck.c
checked in code from sIgpAck0.03.ZIP; cleaned up comment warnings and changed #ifdef NT to #ifdef _MSC_VER; removed sp. prefix and set up for namespacessvn2git-root
svn path=/trunk/externals/sigpack/; revision=4381
Diffstat (limited to 'source/sIgpAck.c')
-rw-r--r--source/sIgpAck.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/source/sIgpAck.c b/source/sIgpAck.c
new file mode 100644
index 0000000..e666e75
--- /dev/null
+++ b/source/sIgpAck.c
@@ -0,0 +1,58 @@
+#ifndef VERSION
+#define VERSION "0.03"
+#endif
+
+#include <m_pd.h>
+
+
+typedef struct _sigpack
+{
+ t_object x_obj;
+} t_sigpack;
+
+static t_class* sigpack_class;
+
+void chop_tilde_setup();
+void decimate_tilde_setup();
+void diode_tilde_setup();
+void foldback_tilde_setup();
+void foldover_tilde_setup();
+void freqdiv_tilde_setup();
+void freqshift_tilde_setup();
+void harmgen_tilde_setup();
+void rectify_tilde_setup();
+void round_tilde_setup();
+void saturate_tilde_setup();
+void sieve_tilde_setup();
+void split_tilde_setup();
+void ustep_tilde_setup();
+void vowel_tilde_setup();
+
+static void* sigpack_new(t_symbol* s) {
+ t_sigpack *x = (t_sigpack *)pd_new(sigpack_class);
+ return (x);
+}
+
+void sigpack_setup(void)
+{
+ sigpack_class = class_new(gensym("sIgpAck"), (t_newmethod)sigpack_new, 0,
+ sizeof(t_sigpack), 0,0);
+
+ chop_tilde_setup();
+ decimate_tilde_setup();
+ diode_tilde_setup();
+ foldback_tilde_setup();
+ foldover_tilde_setup();
+ freqdiv_tilde_setup();
+ freqshift_tilde_setup();
+ harmgen_tilde_setup();
+ rectify_tilde_setup();
+ round_tilde_setup();
+ saturate_tilde_setup();
+ sieve_tilde_setup();
+ split_tilde_setup();
+ ustep_tilde_setup();
+ vowel_tilde_setup();
+
+ post("sIgpAck"" "VERSION " weiss www.weiss-archiv.de");
+}