This modifies modalfilter.c so that gain and leak are fully independent , which I think is the proper form of the leaky integrator.
I tested this with the simulator on scexao-vispyr-bin2 with no noticeable change in behavior.
The effects of this should be subtle and probably negligible in the usual case where mult. coef. is close to 1. It's probably worth being correct, and this could help with things like transfer function analysis and gain optimization.
This modifies
modalfilter.c
so that gain and leak are fully independent , which I think is the proper form of the leaky integrator.I tested this with the simulator on scexao-vispyr-bin2 with no noticeable change in behavior.
The effects of this should be subtle and probably negligible in the usual case where mult. coef. is close to 1. It's probably worth being correct, and this could help with things like transfer function analysis and gain optimization.