aboutsummaryrefslogtreecommitdiff
path: root/monorhythm.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 /monorhythm.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 'monorhythm.h')
-rw-r--r--monorhythm.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/monorhythm.h b/monorhythm.h
new file mode 100644
index 0000000..4a0f503
--- /dev/null
+++ b/monorhythm.h
@@ -0,0 +1,33 @@
+
+typedef struct _monorhythm
+{
+ t_object x_obj;
+ t_clock *x_clock;
+ t_float *x_pattern;
+ int x_idx;
+ int x_size;
+ t_float x_time;
+ t_float x_beattime;
+ int t_running;
+ int t_exclusive;
+ t_outlet *x_bang;
+ t_outlet *x_sync;
+ t_outlet *x_accent;
+} t_monorhythm;
+
+static void monorhythm_tick(t_monorhythm *x);
+static void monorhythm_start(t_monorhythm *x);
+static void monorhythm_stop(t_monorhythm *x);
+static void monorhythm_free(t_monorhythm *x);
+static void *monorhythm_new(t_symbol *s, int argc, t_atom *argv);
+static void monorhythm_pattern_seq( t_monorhythm *x, t_symbol *s, int ac, t_atom *av );
+static void monorhythm_time_float( t_monorhythm *x1, t_float f );
+static void monorhythm_calculate_beat_interval( t_monorhythm *x );
+static void monorhythm_set_time( t_monorhythm *x, t_float f );
+static void monorhythm_restart(t_monorhythm *x);
+static void monorhythm_do_beat( t_monorhythm* x );
+static void monorhythm_set_exclusive(t_monorhythm *x);
+static void monorhythm_set_nonexclusive(t_monorhythm *x);
+
+
+