Page 1 of 1
This is weird
Posted: Thu Jun 25, 2015 4:33 pm
by Father
I was trying to use a Dry/Wet mix module after a down sampling effect, and i was shocked because the stream one i always use didn't work. The output gone crazy. i thought i try to unpack it to mono and it worked as it should!
This shouldn't happen right!? Whats going on?


- straing.jpg (89.06 KiB) Viewed 10032 times
Re: This is weird
Posted: Thu Jun 25, 2015 5:50 pm
by KG_is_back
My suspicion is that there might be something in the dezipper module that is not mono4 compatible.
Re: This is weird
Posted: Thu Jun 25, 2015 7:09 pm
by Father
See for yourself...

- mix.fsm
- (193.55 KiB) Downloaded 793 times
Re: This is weird
Posted: Thu Jun 25, 2015 7:24 pm
by MyCo
Code: Select all
streamin in;
streamin range;
streamout out;
in = in*range;
out = rndint(in) / range;
You are writing to an input... basically you're messing up memory here, so there has to be an unexpected result...

Re: This is weird
Posted: Thu Jun 25, 2015 9:29 pm
by Father
MyCo wrote:You are writing to an input... basically you're messing up memory here, so there has to be an unexpected result...

Oh man you know your stuff huh?

i would have never guessed that one. This solved it:
Code: Select all
streamin in;
streamin range;
streamout out;
float temp;
temp = in*range;
out = rndint(temp) / range;
Thanks. It was strange though (to me hehe).