[Flac-dev] Improving on Rice coding

Paul Harrison pfh at mail.csse.monash.edu.au
Fri Apr 25 23:59:11 PDT 2003


I am the author of the Bonk audio compression program... i've just been
looking at your comparrison table, and i noticed bonk gets marginally
better compression than Flac on some files (actually i was
rather surprised to see bonk on the list at all, it's not exactly high
profile :-) ).

Bonk in lossless mode is a pretty naive implementation of a predictive
coder, so the main difference must be in the residual coding. Bonk uses
an novel encoding that can adapt to the the distribution of prediction
errors, wheras Flac uses Rice coding, which assumes a two tailed
exponential distribution.

Given that Flac is much more advanced in other respects, i wonder if
you are interested in using bonk's encoding scheme?

The relevant file is utility.h in
http://yoyo.cc.monash.edu.au/~pfh/bonk/bonk-0.6.tar.gz. I've put a draft
description of the encoder here:


Email: pfh at csse.monash.edu.au

one ring, no rulers, thecircle.org.au

More information about the Flac-dev mailing list