Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Isn it pointless to use gzip or bzip2 lossless compression on audio files?

0
Posted

Isn it pointless to use gzip or bzip2 lossless compression on audio files?

0

It all depends on the audio file. It is true that using bzip2 on music ripped from a CD will result in poor compression rates on the order of about 5%. But since gzip and bzip2 are generic entropy encoders, the less information a file has the more it should compress in a lossless fashion. Here are some examples. • A quiet signal with much less than the 96 dB dynamic range allowed for in a 16 bit wav file will have a sample amplitude distribution that uses, lets say, half of the 16 bits. This audio file could of been stored as an 8 bit wav file without any loss of information, but it wasn’t, so using gzip or bzip2 will compress out most of that redundant information (roughly about a factor of 2). The same argument is true for a stereo file which is actually a mono file (both channels are the same). Even if the redundancy isn’t ideal, like the 8 bit and mono cases, an entropy encoder will still do a very good job. • Test signals like sine waves are very redundant and they compress very w

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123