How Does Lossless Work?


Does anyone know of any printed material that describes how ALAC & FLAC operate? These are lossless formats however, they are using compression. Is this format removing something or is it compressing then uncompressing on playback? Looking for hard evidence that these formats are in fact bit-for-bit equals, or not, to master quality AIFF's & WAV's.
3memike

Showing 2 responses by dave_rosenblum

Lossless compression is pretty simple. Say a string of 0s and 1s is like this:
00001111000011110000111100001111

FLAC says:
"Dictionary":
0000 = 2
1111 = 3
Content:
223232323

And now you see how it really is lossless, it just replaces the 2's and 3's with the 0000 and 1111 when you play it!

Dave the computer programmer.
I simplified it enough for non-tech people to get the concept. I know how computers work.