The files are usually 5KB or so smaller and can be about 1 second shorter than the original files.
Convert a WAV to Apple Lossess then back to WAV and compare the two WAV's Convert an AIFF to Apple Lossless then back to AIFF and compare the two AIFF's
The original file/song was 41.48 Mb 4 min. 6 sec. for the original wav and 41.47 Mb 4 min. 6 sec. for the one converted to ALAC and back to WAV within iTunes. That IS strange...
I do have EAC and a portable Foobar 2000. I can give it a try just for the sake of learning something
Differences found in 1 out of 1 track pairs.Comparing:"...\Desktop\02 Cross My Heart And Hope To Die.wav""...\Desktop\original.wav"Length mismatch : 4:06.503039 vs 4:06.573333, 10870784 vs 10873884 samples
This is what I got with F2K (and now I know how to do something new...so thanks for that, Robertina.)
Differences found in 1 out of 1 track pairs.Comparing:"C:\Users\ac25\Desktop\Foo Fighters - Greatest Hits\itunes.wav""C:\Users\ac25\Desktop\Foo Fighters - Greatest Hits\orig.wav"Length mismatch : 2:14.304218 vs 2:14.306667, 5922816 vs 5922924 samples
It's worth noting that the default block size for ALAC is 4096 samples. So assuming you're using 44100Hz:(44100 * 30) % 4096 = 4088(44100 * 60) % 4096 = 4080(44100 * 90) % 4096 = 4072(44100 * 120) % 4096 = 4064So it looks like you're losing exactly 1 ALAC frame each time for whatever reason.
Just for the helluvit, I created four WAVs in Cool Edit (1 kHz tone) of exactly 30, 60, 90, and 120 seconds in length - ...
Differences found in 1 out of 1 track pairs.Comparing:"C:\...\tone.1kHz.512001_samples.wav""C:\...\tone.1kHz.512001_samples_ALAC.wav"Length mismatch : 0:11.610000 vs 0:11.609977, 512001 vs 512000 samples
Quote from: Engelsstaub on 06 October, 2010, 05:36:06 AMThis is what I got with F2K (and now I know how to do something new...so thanks for that, Robertina.)So what about the first WAV conversion you made without iTunes? Seems to suggest the "problem" is in iTunes putting the audio in a wav container, not of the ALAC encoder.
The problem with 3rd party encoders/decoders is that ALAC is proprietary and has to be reverse-engineered. That Apple has botched their very own decoder is quite disconcerting!