Re: [fluid-dev] Possible bugs in mod and release envelope math

2011-07-11 Thread Andrew Suffield
On Mon, Jul 11, 2011 at 10:08:58AM +0200, David Henningsson wrote: > I agree that it feels strange, but question is if it matters? Yes, that is the question. I can't really tell; there's too much going on here that I don't fully understand yet. > For > release volumes, things should always ramp d

Re: [fluid-dev] Possible bugs in mod and release envelope math

2011-07-11 Thread Krzysztof Foltman
On 11/07/11 09:11, David Henningsson wrote: An formula Y = (X-1)/126 would give both 0 and 1 as hard left, 64 as center and 127 as hard right. Does that make sense to everybody? I think that's the proper mapping, according to GM standard. K. ___ f

Re: [fluid-dev] Possible bugs in mod and release envelope math

2011-07-11 Thread David Henningsson
On 2011-07-10 02:07, Andrew Suffield wrote: I've been working through the source, and while I don't pretend to fully understand what's going on here, I've spotted a couple of things that seem wrong: fluid_mod_get_value sets range1 and range2 to 127, which are used as the divisor for linear and