Fix a typo in HiAndLowPass.lua
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 19 Jul 2016 14:38:26 +0000 (16:38 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 19 Jul 2016 14:42:27 +0000 (16:42 +0200)
commit2e933a6414406d9bd069b73ac6094b49c9d2de81
tree8eca7c915e71100423370e45b754fe0ee98ec7c0
parent55bd8ff4d8b64d0780f7184636f41b9f2d2e2707
Fix a typo in HiAndLowPass.lua

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).
scripts/HiAndLowPass.lua