aboutsummaryrefslogtreecommitdiff
path: root/rhythms_memory.c
diff options
context:
space:
mode:
authorDavide Morelli <morellid@users.sourceforge.net>2005-12-08 01:29:55 +0000
committerDavide Morelli <morellid@users.sourceforge.net>2005-12-08 01:29:55 +0000
commitfe91359682b9d76eb3c2a4bb8fb7b4d2f00bfcb9 (patch)
tree87f8e2d00820cb7c72dac1383fcf10cfb902e453 /rhythms_memory.c
parentefbd3f26e01a09b902357b0b103ac7abc94e483c (diff)
minor fixes but main bug still present
svn path=/trunk/externals/frankenstein/; revision=4166
Diffstat (limited to 'rhythms_memory.c')
-rwxr-xr-xrhythms_memory.c2
1 files changed, 1 insertions, 1 deletions
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);