Isn't the lossless compression method more noise-resistant?

1 view (last 30 days)
Hi everyone
I do an audio compression with bit per sample variations
The original file is .wav (2 channels) and compressed using the lossless .flac method with variations in bits per sample (24,16, and 8)
When measuring objective difference grade (ODG) on .flac audio with 16 and 24-bit samples compared to the original file there is no problem (ODG=0)
However, when checking the audio .flac bitpersample 8 compared to the original file the result becomes -3 (Annoying)
Why can this happen?
Even though I used a lossless method which should be more resistant to noise
Isn't the lossless compression method more noise-resistant?
I'm sorry, i cant speak english very well
Thank you very much

Answers (1)

Image Analyst
Image Analyst on 2 Sep 2021
If your original (best) signal has 24 bits per sample then quantizing it to 8 or 16 bits per sample will degrade the waveform. The degraded waveform will have some difference from the original. I don't know that I'd call it "noise" exactly. Rather than an alteration of the signal due to a random process, it's more of a quantization error due to a systematic process. Even though the signal is written and recalled with a noiseless compression, there will be a difference between the quantized signal and the original due to quantization.
In general lossless compression is completely "resistant" to noise in that if you save something with lossless compression and then read it back in, it will be the same as what you originally saved.
If you have lossy compression, the recalled signal will not be the same as the original. We usually call the differences "compression artifacts" rather than "noise."
  5 Comments
Image Analyst
Image Analyst on 6 Sep 2021
I'm not an expert in different ways (formats) to compress audio with loss to reduce the loss. I don't even know what formats are lossless or lossy so you know more than me already. Sorry - my expertise is in image processing not audio signal processing.

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!