Help - Search - Members - Calendar
Full Version: Entropy Coding
Hydrogenaudio Forums > Lossless Audio Compression > Lossless / Other Codecs
audio_geek
Hi,
i need a code(C program) to encode my residual signal losslessly, and then decode it to give the same original residual signal.
I was trying to use entropy code/rice code function from one of the lossless audio codecs available but found it litle difficult to use and go thru all the codec to understand the flow of the program etc.
I tried it with 'kexis' lossless codec and did some experiments to encode the residual signal(which i get somewhere else, and not thru the same lossless codec) but i was getting my some samples corrupted in this(there may be some problems with my using that program)
So please suggest me if there is a separate entrropy coding program available somewhere which takes residual(floating point values between -1 and 1 or integer values) as input and can encode and decode the residual file losslessly.

thanks

Garf
Construct a huffman table of the outputs and then just use huffman coding.

This works as long as the range is not too large (table doesn't get too big).

Or just look for a reference of rice coding and roll your own code for that?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.