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 --- pin~.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pin~.h (limited to 'pin~.h') diff --git a/pin~.h b/pin~.h new file mode 100644 index 0000000..95b8271 --- /dev/null +++ b/pin~.h @@ -0,0 +1,23 @@ +/* declarations for the pin~ object */ + +typedef struct _pin_tilde +{ + t_object x_obj; + float p_prob; + float p_ticktime; + int p_outchannel; + t_clock* p_clock; + long p_numticks; + int p_normalized_prob; + float x_f; +} t_pin_tilde; + +t_int *pin_tilde_perform(t_int *w); +static void pin_tilde_dsp(t_pin_tilde *x, t_signal **sp); +static void pin_tilde_free(t_pin_tilde *x); +static void *pin_tilde_new(t_floatarg prob , t_floatarg tick); +static void pin_tilde_float(t_pin_tilde* x, t_float n); +static void pin_tilde_ticktime( t_pin_tilde* x, t_float tick ); +static void pin_tilde_prob( t_pin_tilde* x, t_float prob ); +static void pin_tilde_tick(t_pin_tilde *x); + -- cgit v1.2.1