summaryrefslogtreecommitdiff
path: root/scripts/HiAndLowPass.lua
AgeCommit message (Collapse)Author
2016-11-24a-High/LowPass allow 8K samples inclusiveRobin Gareus
2016-07-19enforce range of HP/LPRobin Gareus
We must not assume that the host sends values within the the range nor that the enum is always an integer.
2016-07-19Fix a typo in HiAndLowPass.luaJulien "_FrnchFrgg_" RIVAUD
Instead of mixing two consecutive biquad orders with a linear xfade, the code used the same weight for both signals to mix, due to a copy-paste blunder. Brown-bag fix this now. Also change a little the threshold for using 32-samples chunks to cater for steepness jumping from 0 to 4 (this doesn't change anything for commonly used rates and is just for robustness in never-happening cases anyway).
2016-07-18Optimize a-HiAndLowPassJulien "_FrnchFrgg_" RIVAUD
- Better formula for the lpf smoothness parameter. It is computed only on init and rate change anyway... - Only run as many Biquads as needed to save computing power, esp. when using low steepness and parameters are not changing.
2016-07-18Simplify the logic in HiAndLowPass filterJulien _FrnchFrgg_ RIVAUD
And beef up comments for readers using the filter as an example.
2016-07-18clean up Hp/Lp codeRobin Gareus
2016-07-17cleanup High/Low PassRobin Gareus
* shorten Name * fix typo in Time Constant * remove some local variables
2016-07-17clean up a-HP/LPRobin Gareus
2016-07-16Hi AND low pass filter -- fresh from the oven werks.Robin Gareus