diff options
author | Davide Morelli <morellid@users.sourceforge.net> | 2005-12-08 01:29:55 +0000 |
---|---|---|
committer | Davide Morelli <morellid@users.sourceforge.net> | 2005-12-08 01:29:55 +0000 |
commit | fe91359682b9d76eb3c2a4bb8fb7b4d2f00bfcb9 (patch) | |
tree | 87f8e2d00820cb7c72dac1383fcf10cfb902e453 /rhythms_memory.c | |
parent | efbd3f26e01a09b902357b0b103ac7abc94e483c (diff) |
minor fixes but main bug still present
svn path=/trunk/externals/frankenstein/; revision=4166
Diffstat (limited to 'rhythms_memory.c')
-rwxr-xr-x | rhythms_memory.c | 2 |
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);
|