Page 1 of 1

Posted: 26 Jun 2010, 19:48
by CLeRIK
Hi!

I just noticed that the module "A mod B" outputs the integer remainder. What's the easiest way to get the float reminder? I guess it would be pretty easy to create a patch that does this?

Posted: 26 Jun 2010, 19:56
by CLeRIK
I just solved it, but it doesn't look very pretty :)

Posted: 26 Jun 2010, 20:00
by 23fx23
what i do usualy is multiply all by 10, 100, or 1000 (the in, the mod, and out of mod) not pretty either..

wonders if there is a better teck.

Posted: 26 Jun 2010, 21:53
by CLeRIK
Here's the solution I came up with: http://www.sensomusic.com/download.php? ... dfloat.pat

Posted: 28 Jun 2010, 17:07
by 23fx23
oh yeah mean that outputs real floats, with int mod. well done,nice, not that weirf. thanks.
between can also use trunc instead of DIV 1, equivalent here.