News for hackers. Stuff that matters.
Re:Lossless audio compression with libpng by eliteraspberrie on Saturday June 14, 2014 @05:00PM (#7893681)
To improve the calculation of the autocorrelation, first 'demean' the input sequence by subtracting its mean from it, like so: https://gist.github.com/anonymous/a293bdbfa9133a607dd1

The reason being that autocorrelation (and convolution in general) is meaningful when the input signal is linear time invariant. Read more about that here: https://en.wikipedia.org/wiki/LTI_system_theory#Impulse_resp...

There are no comments on this comment yet.