News for hackers. Stuff that matters.
Re:Lossless audio compression with libpng by foxhill on Saturday June 14, 2014 @11:49AM (#7892984)
a single test case hardly means "beating" FLAC. indeed, if you just wanted to encode a sine wave at one frequency for 30 seconds, your encoder would encode this as a couple of bytes - for any general compression codec there will be a problem class for which it will not be optimal.

that said, this approach may obviously be applied more generally, but it remains to be seen if it will perform so well. self-similarity seems so obvious as a compression technique that i would be.. surprised if this sort of compression wasn't attempted before.

Re:Lossless audio compression with libpng by raverbashing on Saturday June 14, 2014 @12:22PM (#7893059)
Exactly this

Maybe autocorrelation is not very explored in conventional codecs (FLAC/MP3 because it has a too small gain to be justifiable - in a general purpose situation)

In real life situations the autocorrelation is much smaller, even a constant note will have a small variation in time

Re:Lossless audio compression with libpng by pyre on Saturday June 14, 2014 @01:38PM (#7893202)
I remember an article a while back about how there are certain inputs that will be lossy in FLAC. They were mostly artificial inputs though (e.g. a square wave).
Re:Lossless audio compression with libpng by dTal on Sunday June 15, 2014 @01:20PM (#7895718)
Can you find the link? FLAC is not supposed to be lossy under any circumstances. In the worst case, if none of several algorithms are successful at compression, the block is stored verbatim. A single-sample deviation on any input would be considered a bug.