From 1baf1d957e195290cfd59089767ca63a547a9917 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 7 Apr 2004 14:32:29 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r1560, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/mjlib/; revision=1561 --- SynapseA~.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SynapseA~.h (limited to 'SynapseA~.h') 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 ); + + -- cgit v1.2.1