aboutsummaryrefslogtreecommitdiff
path: root/pin~.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-04-07 14:32:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-04-07 14:32:29 +0000
commit1baf1d957e195290cfd59089767ca63a547a9917 (patch)
tree38a48f9bffeb97d2f69934447be073a1728bf779 /pin~.h
This commit was generated by cvs2svn to compensate for changes in r1560,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/mjlib/; revision=1561
Diffstat (limited to 'pin~.h')
-rw-r--r--pin~.h23
1 files changed, 23 insertions, 0 deletions
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);
+