Let me ask you a question, since you're convinced that they can sound different.
Take a folder full of Word documents. ZIP it. Heck, re-ZIP it several times. Extract all the files. Do your Word documents look different? Did the formatting change? What about the letters? Did new words get inserted, or some others deleted?
No?
Lossless media compression works in the same way as lossless file compression does, excepting optimizations for seeking/scrubbing and streaming; things that aren't necessary with whole-file compression. At no point does a lossless compression algorithm discard data as irrelevant (that it can't reconstruct later during the decompression). This is unlike AAC or MP3 where temporal filters are applied and resolution discarded depending on variables like bitrate, profile, etc.
The same is true for PNG image files that is true of FLAC or ALAC audio files. No matter how times you compress or decompress a PNG file, all the original image data stays preserved accurately and faithfully. That's what makes it a lossless format.
By claiming that ALAC vs. FLAC vs. even AIFF or WAV can, or even will, sound different is to claim that the compression format isn't lossless. That is exactly the claim you're making, that ALAC and/or FLAC are losing data. This is very, very easy to test for.
- Take a raw uncompressed WAV or AIFF.
- Encode it as FLAC or ALAC (doesn't matter which, but you can try both).
- Decode it back to an uncompressed WAV or AIFF (which ever you started with).
- Perform a diff on the original compared to the compressed/decompressed file.
- You will note that there are no differences marked.
Why? Because at the binary format level of the file, everything was preserved in the process of compressing and decompressing. Which is precisely what makes it lossless.
Anyway, these tests for binary preservation are very easy to perform, and they don't require golden-ears, esoteric audio equipment, or belief in the wafting hands of some sound-spirit. A very basic computer, a WAV or AIFF file, and a program that can encode/decode FLAC and/or ALAC, and a simple binary diff program (lots of free and opensource ones) will do the trick. Any Mac or modern Linux machine will come with all the necessary tools, and any Windows PC can have the requisite software setup in a few minutes.
Cheers!
Take a folder full of Word documents. ZIP it. Heck, re-ZIP it several times. Extract all the files. Do your Word documents look different? Did the formatting change? What about the letters? Did new words get inserted, or some others deleted?
No?
Lossless media compression works in the same way as lossless file compression does, excepting optimizations for seeking/scrubbing and streaming; things that aren't necessary with whole-file compression. At no point does a lossless compression algorithm discard data as irrelevant (that it can't reconstruct later during the decompression). This is unlike AAC or MP3 where temporal filters are applied and resolution discarded depending on variables like bitrate, profile, etc.
The same is true for PNG image files that is true of FLAC or ALAC audio files. No matter how times you compress or decompress a PNG file, all the original image data stays preserved accurately and faithfully. That's what makes it a lossless format.
By claiming that ALAC vs. FLAC vs. even AIFF or WAV can, or even will, sound different is to claim that the compression format isn't lossless. That is exactly the claim you're making, that ALAC and/or FLAC are losing data. This is very, very easy to test for.
- Take a raw uncompressed WAV or AIFF.
- Encode it as FLAC or ALAC (doesn't matter which, but you can try both).
- Decode it back to an uncompressed WAV or AIFF (which ever you started with).
- Perform a diff on the original compared to the compressed/decompressed file.
- You will note that there are no differences marked.
Why? Because at the binary format level of the file, everything was preserved in the process of compressing and decompressing. Which is precisely what makes it lossless.
Anyway, these tests for binary preservation are very easy to perform, and they don't require golden-ears, esoteric audio equipment, or belief in the wafting hands of some sound-spirit. A very basic computer, a WAV or AIFF file, and a program that can encode/decode FLAC and/or ALAC, and a simple binary diff program (lots of free and opensource ones) will do the trick. Any Mac or modern Linux machine will come with all the necessary tools, and any Windows PC can have the requisite software setup in a few minutes.
Cheers!