3 ms·
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
by foxhill 12y ago
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.
- raverbashing 12y agoExactly 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
- pyre 12y agoI 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).
- dTal 12y agoCan 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.