aboutsummaryrefslogtreecommitdiff
path: root/synapseA~.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-04-08 02:35:21 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-04-08 02:35:21 +0000
commit90dcfc18b533454d99f1d02ee7f191c63e5ed728 (patch)
tree8caf3f00bd62dbf861985a760ad41d1c6525f9c1 /synapseA~.h
parente58688258d35f9a677f0ba6aa9ceacde271cdeb4 (diff)
made all of the objects compile on MacOS X and GNU/Linux
svn path=/trunk/externals/mjlib/; revision=1571
Diffstat (limited to 'synapseA~.h')
-rw-r--r--synapseA~.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/synapseA~.h b/synapseA~.h
new file mode 100644
index 0000000..265dd53
--- /dev/null
+++ b/synapseA~.h
@@ -0,0 +1,21 @@
+/* declarations for the pin~ object */
+
+typedef struct _synapseA_tilde
+{
+ t_object x_obj;
+ t_float x_f;
+ t_float x_threshold;
+ t_outlet *x_onbang;
+ t_outlet *x_offbang;
+ t_float n_inv;
+ t_float x_state;
+} t_synapseA_tilde;
+
+t_int *synapseA_tilde_perform(t_int *w);
+static void synapseA_tilde_dsp(t_synapseA_tilde *x, t_signal **sp);
+static void synapseA_tilde_free(t_synapseA_tilde *x);
+static void *synapseA_tilde_new(t_floatarg prob , t_floatarg tick);
+static void synapseA_tilde_float(t_synapseA_tilde* x, t_float n);
+static void synapseA_tilde_threshold(t_synapseA_tilde *x, t_float f );
+
+