I am unable to find the mathematical details of the codec , please guide. Thanks in advance. -- Manu Ghulyani B.E.(Hons.) Electronics & Instrumentation. B.I.T.S. Pilani. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20120207/0caaeac0/attachment.htm
On 7 February 2012 06:24, Manu Ghulyani <manughulyani at gmail.com> wrote:> I am unable to find the mathematical details of the codec , please guide.Unfortunately I'm not aware of a clear write-up of how the FLAC format works in detail. One must muddle through between http://flac.sourceforge.net/format.html and the source code. Basically the audio is chopped into a blocks and each block is coded either uncompressed, as a constant value (good for silence), or with linear predictive coding plus a rice-coded residual. I don't know how the encoder decides where to put the block boundaries. Hope that's enough to get you started, -r
Op 07-02-12 19:50, Ralph Giles schreef:> Basically the audio is chopped into a blocks and each block is coded > either uncompressed, as a constant value (good for silence), or with > linear predictive coding plus a rice-coded residual. I don't know how > the encoder decides where to put the block boundaries.AFAIK, FLAC uses a fixed block length so block boundaries are just put somewhere a block ends. Flake, another FLAC-encoders can use variable block length and has a algorithm to decide the length, but this is outside of the -0 to -8 presets, as these are all fixed block length.