From fe91359682b9d76eb3c2a4bb8fb7b4d2f00bfcb9 Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Thu, 8 Dec 2005 01:29:55 +0000 Subject: minor fixes but main bug still present svn path=/trunk/externals/frankenstein/; revision=4166 --- rhythms_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rhythms_memory.c') diff --git a/rhythms_memory.c b/rhythms_memory.c index ff69082..a7d7ce6 100755 --- a/rhythms_memory.c +++ b/rhythms_memory.c @@ -96,7 +96,7 @@ void end_measure(t_rhythms_memory *x) counter = 0; while(currEvent) { - fduration = currEvent->when / x->measure_length; + fduration = (float) (((float) currEvent->when) / ((float) x->measure_length)); if (x->seq_initialized) { concatenateBeat(x->curr_seq, currEvent->voice, fduration, 1); -- cgit v1.2.1