title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Bug in AIFF encoder - dropping samples

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ldolse

    • Jan 2009
    • 8

    Bug in AIFF encoder - dropping samples

    Not sure if this belongs in the ripper forum or the converter forum, but including it here since it happens when ripping.

    I found an issue while using the AIFF encoder. I was doing some basic A/B tests between dbpoweramp and EAC, as well as validating Flac encoding just for the sake of it. Note both programs showed that the tracks matched accurate rip. This also led me to test WAV rips vs. AIF rips both from dBpoweramp.

    I compared different files I ripped using the Binary Comparator utility in Foobar as well as the compare wavs utility in EAC. Foobar's utility compares the decoded samples of any filetype, for EAC I had to convert the AIF back to WAV, which I tried using both Foobar and Music Converter. Note the differences always remained after re-converting.

    I first noticed a problem when I compared an AIF album from dbpoweramp to the same album ripped in EAC. After that discovery I tried a couple different file variations to see where the problem was. Here's a high level summary of the differences:

    For the same track extracted multiple times:
    EAC WAV != dBpoweramp AIF
    dBpoweramp WAV != dBpoweramp AIF
    EAC WAV = dBpoweramp WAV

    As the EAC produced WAV matched the dBpoweramp wav identically this points to the AIF encoder as the culprit.

    Here's the foobar output for a single track, note that I reproduced this with a number of other tracks/albums:

    Code:
    Comparing:
    "E:\Music_Extr\Stereolab\dBpower - ABC Music; The Radio 1 Sessions\AIF - Stereolab - 01 - Super-Electric.aif"
    "E:\Music_Extr\Stereolab\EAC-WAV-ABC Music Radio 1 Sessions [CD1]\01. Stereolab - Super Electric.wav"
    Length mismatch : 4:48.652857 vs 4:48.933333, 12729591 vs 12741960 samples
    That's a difference of 12,369 samples, the AIF file is missing samples.

    The same files in EAC report that the EAC generated WAV is 0:00:00.280 longer, no other differences.

    If I'm reading this information correctly this means that dBpoweramp is dropping ~10,000 samples when encoding to AIF (I believe the remaining samples are identical). I realize this is only a quarter of a second at 44Khz, but it's still disconcerting to think that the AIFF encoder isn't quite lossless after ripping ~600 cds. It's particularly problematic for gapless albums...

    I've tried this with a number of albums. The things I've noticed is that it's not consistently a problem across every track - for example only about 75% of the tracks on that Stereolab album were affected. Additionally, the number of dropped samples varies from track to track between 6000 and 12,000 samples. Below is the foobar's comparison of a set of Brahm's tracks ripped twice in dBpoweramp, once to WAV and once to AIFF.

    Hopefully there is some explanation for this difference that doesn't mean I need to re-rip a lot of content.



    Brahms Stats dBpoweramp WAV rip vs. AIFF rip:
    Code:
    Differences found in 18 out of 18 track pairs.
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 01 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 1].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 01 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 1].wav"
    Length mismatch : 1:13.184830 vs 1:13.333333, 3227451 vs 3234000 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 02 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 2].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 02 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 2].wav"
    Length mismatch : 0:40.493129 vs 0:40.706667, 1785747 vs 1795164 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 03 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 3].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 03 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 3].wav"
    Length mismatch : 1:10.955850 vs 1:11.093333, 3129153 vs 3135216 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 04 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 4].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 04 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 4].wav"
    Length mismatch : 0:47.923061 vs 0:48.066667, 2113407 vs 2119740 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 05 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 5].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 05 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 5].wav"
    Length mismatch : 1:57.764422 vs 1:57.800000, 5193411 vs 5194980 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 06 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 6].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 06 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 6].wav"
    Length mismatch : 2:24.512177 vs 2:24.733333, 6372987 vs 6382740 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 07 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 7].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 07 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 7].wav"
    Length mismatch : 1:28.044694 vs 1:28.240000, 3882771 vs 3891384 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 08 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 8].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 08 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 8].wav"
    Length mismatch : 1:27.301701 vs 1:27.666667, 3850005 vs 3866100 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 09 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 9].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 09 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 9].wav"
    Length mismatch : 2:08.909320 vs 2:09.226667, 5684901 vs 5698896 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 10 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 10].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 10 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 10].wav"
    Length mismatch : 0:52.752517 vs 0:52.973333, 2326386 vs 2336124 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 11 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 11].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 11 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 11].wav"
    Length mismatch : 0:49.409048 vs 0:49.493333, 2178939 vs 2182656 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 12 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 12].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 12 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 12].wav"
    Length mismatch : 0:39.378639 vs 0:39.640000, 1736598 vs 1748124 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 13 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 13].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 13 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 13].wav"
    Length mismatch : 0:46.437075 vs 0:46.466667, 2047875 vs 2049180 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 14 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 14].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 14 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 14].wav"
    Length mismatch : 0:52.009524 vs 0:52.293333, 2293620 vs 2306136 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 15 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 15].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 15 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 15].wav"
    Length mismatch : 1:19.871769 vs 1:20.066667, 3522345 vs 3530940 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 16 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 16].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 16 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 16].wav"
    Length mismatch : 1:14.670816 vs 1:14.840000, 3292983 vs 3300444 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 17 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 17].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 17 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 17].wav"
    Length mismatch : 1:54.792449 vs 1:55.133333, 5062347 vs 5077380 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 18 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 18].aif"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 18 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 18].wav"
    Length mismatch : 1:25.072721 vs 1:25.426667, 3751707 vs 3767316 samples
    To further validate this wasn't a foobar format handling issue, here is the foobar comparison of the AIF files converted back to WAV using dBpoweramps batch conversion. Note that after converting the results are identical.

    Code:
    Differences found in 18 out of 18 track pairs.
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 01 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 1].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 01 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 1].wav"
    Length mismatch : 1:13.184830 vs 1:13.333333, 3227451 vs 3234000 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 02 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 2].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 02 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 2].wav"
    Length mismatch : 0:40.493129 vs 0:40.706667, 1785747 vs 1795164 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 03 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 3].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 03 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 3].wav"
    Length mismatch : 1:10.955850 vs 1:11.093333, 3129153 vs 3135216 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 04 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 4].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 04 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 4].wav"
    Length mismatch : 0:47.923061 vs 0:48.066667, 2113407 vs 2119740 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 05 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 5].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 05 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 5].wav"
    Length mismatch : 1:57.764422 vs 1:57.800000, 5193411 vs 5194980 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 06 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 6].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 06 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 6].wav"
    Length mismatch : 2:24.512177 vs 2:24.733333, 6372987 vs 6382740 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 07 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 7].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 07 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 7].wav"
    Length mismatch : 1:28.044694 vs 1:28.240000, 3882771 vs 3891384 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 08 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 8].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 08 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 8].wav"
    Length mismatch : 1:27.301701 vs 1:27.666667, 3850005 vs 3866100 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 09 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 9].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 09 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 9].wav"
    Length mismatch : 2:08.909320 vs 2:09.226667, 5684901 vs 5698896 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 10 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 10].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 10 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 10].wav"
    Length mismatch : 0:52.752517 vs 0:52.973333, 2326386 vs 2336124 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 11 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 11].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 11 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 11].wav"
    Length mismatch : 0:49.409048 vs 0:49.493333, 2178939 vs 2182656 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 12 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 12].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 12 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 12].wav"
    Length mismatch : 0:39.378639 vs 0:39.640000, 1736598 vs 1748124 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 13 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 13].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 13 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 13].wav"
    Length mismatch : 0:46.437075 vs 0:46.466667, 2047875 vs 2049180 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 14 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 14].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 14 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 14].wav"
    Length mismatch : 0:52.009524 vs 0:52.293333, 2293620 vs 2306136 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 15 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 15].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 15 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 15].wav"
    Length mismatch : 1:19.871769 vs 1:20.066667, 3522345 vs 3530940 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 16 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 16].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 16 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 16].wav"
    Length mismatch : 1:14.670816 vs 1:14.840000, 3292983 vs 3300444 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 17 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 17].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 17 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 17].wav"
    Length mismatch : 1:54.792449 vs 1:55.133333, 5062347 vs 5077380 samples
    
    Comparing:
    "E:\Music_Ext2\BBC Singers\AIF-WAV Converted\BBC Singers - 18 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 18].wav"
    "E:\Music_Ext2\BBC Singers\Wav - Brahms; Liebeslieder Waltzes and Neue Liebeslieder; Spohr; Three Psalms, Op. 85; Meyerbeer; Psalm 91\BBC Singers - 18 - Liebeslieder Waltzes (18) for vocal quartet & piano, 4 hands, Op. 52; [Part 18].wav"
    Length mismatch : 1:25.072721 vs 1:25.426667, 3751707 vs 3767316 samples
  • Spoon
    Administrator
    • Apr 2002
    • 44509

    #2
    Re: Bug in AIFF encoder - dropping samples

    Try:

    This one supports AIFC "sowt" format: Download: http://www.dbpoweramp.com/beta/dBpoweramp-codec-aiff.exe 435KB


    Also is the source file 48KHz?
    Spoon
    www.dbpoweramp.com

    Comment

    • Nubben
      dBpoweramp Enthusiast

      • Apr 2008
      • 154

      #3
      Re: Bug in AIFF encoder - dropping samples

      Spoon: So does this mean previous rips (before that new codec) are "tarnished"?!

      Comment

      • ldolse

        • Jan 2009
        • 8

        #4
        Re: Bug in AIFF encoder - dropping samples

        So by that thread link is that a confirmation that this is a problem and that build fixes it? Or is this something to do with SOWT format, which I'm not familiar with? I'll try that link and see if it resolves the issue, but I'm not re-ripping my whole library at this point.

        I'm ripping standard redbook, so 44Khz.

        I did some listening tests, which I hadn't tried before. On gapless albums the dropout can clearly be heard for most but not all tracks. By comparison ripping to FLAC did not cause the dropouts. For example on Dark Side of the Moon I could pretty clearly pick it up. On live albums with lots of audience cheering, etc it wasn't so easy to pick up with the noise.

        I'm going to go through and re-rip everything I know to be gapless, but I'll just live with the rest of it.

        Comment

        • Spoon
          Administrator
          • Apr 2002
          • 44509

          #5
          Re: Bug in AIFF encoder - dropping samples

          The new version would have to be tried as is uses the latest dbpoweramp internal libraries.
          Spoon
          www.dbpoweramp.com

          Comment

          • ldolse

            • Jan 2009
            • 8

            #6
            Re: Bug in AIFF encoder - dropping samples

            Just tried the R8 AIFF codec - I still get same issue, length mismatch. This time I tried ripping to FLAC, then ripping the same cd to AIFF, both with dBpoweramp.

            Comment

            • Spoon
              Administrator
              • Apr 2002
              • 44509

              #7
              Re: Bug in AIFF encoder - dropping samples

              Can you email the wav file please (not the AIFF converted wave file), to:

              Spoon
              www.dbpoweramp.com

              Comment

              • Nubben
                dBpoweramp Enthusiast

                • Apr 2008
                • 154

                #8
                Re: Bug in AIFF encoder - dropping samples

                Spoon - any update on this pretty serious issue?

                Many thanks!

                Nubben

                Comment

                • Nubben
                  dBpoweramp Enthusiast

                  • Apr 2008
                  • 154

                  #9
                  Re: Bug in AIFF encoder - dropping samples

                  I have done some testing on my own and just like Idolse I get mismatch between AIFFs GENERATED from the outset, that is, when I rip the CDs directly to AIFF in the CD Ripper. WAV files ripped in dBpa are exactly the same as WAVs ripped in EAC. (Tested in foobar just like Idolse.) Plus, the AIFF tracks are almost constantly 1 second shorter in length (rounded up I presume) - although I'm having a hard time hearing any gap or anything on my test tracks.

                  However, and this is interesting, if I rip to WAV in dBpa and THEN use dBpa Music Converter to convert the WAVs into AIFFs the WAVs and AIFFs are identical!!

                  Very mysterious indeed.

                  Hope this helps.

                  Nubben

                  Comment

                  • Spoon
                    Administrator
                    • Apr 2002
                    • 44509

                    #10
                    Re: Bug in AIFF encoder - dropping samples

                    Very shortly, code is fixed, just waiting for a code signing certificate for 2009.
                    Spoon
                    www.dbpoweramp.com

                    Comment

                    • Monk918

                      • Oct 2008
                      • 12

                      #11
                      Re: Bug in AIFF encoder - dropping samples

                      Spoon,

                      How will you let us know the "certificate" is issued and the bug is fixed? I am in the process of ripping 2000+ CDs into AIFF. I was of the understanding that dB's conversions were accurate. Is this bug a really noticeable problem or am I being overly paranoid?

                      Thanks.:shocked:
                      Last edited by Monk918; January 16, 2009, 08:27 PM.

                      Comment

                      • Spoon
                        Administrator
                        • Apr 2002
                        • 44509

                        #12
                        Re: Bug in AIFF encoder - dropping samples

                        It is a bug, that only effects CD Ripper >> AIFF, a number of samples (the last 'block') is dropped from the final file.
                        Spoon
                        www.dbpoweramp.com

                        Comment

                        • Monk918

                          • Oct 2008
                          • 12

                          #13
                          Re: Bug in AIFF encoder - dropping samples

                          Pardon my ignorance, but what does this mean for a layman such as myself. Do I have to start my rips all over again? Will it be audibly noticed that these samples are "dropped".

                          Thanks.
                          Last edited by Monk918; January 16, 2009, 08:38 PM.

                          Comment

                          • ldolse

                            • Jan 2009
                            • 8

                            #14
                            Re: Bug in AIFF encoder - dropping samples

                            Glad that there has been some confirmation on this and I wasn't crazy. I think I mentioned before. In all the tracks I analyzed I only lost 1/4 to 1/8th of the very last second. For 99% of music this is not audible as the song is more or less over at this point.

                            Gapless albums and tracks are the most affected, and all you hear is an extremely subtle transition between tracks. Dark Side of the Moon was one album where I could pretty clearly hear it while listening for it. If I wasn't intentionally listening for it in most cases I wouldn't have heard it. Any classical pieces that span tracks would also be audibly affected.

                            As spoon said, it only affect Ripper to AIFF. If you're eager to get started rip to WAV or FLAC and then use the batch converter to convert to AIFF. After discovering this bug I started ripping to FLAC and will convert to AIFF later.

                            For the albums that are affected I'm just going to make a note to fix ones where this bothers me in the future... Re-ripping that many CDs isn't something I'm in the mood for.

                            Comment

                            • MrRalph

                              • Aug 2008
                              • 21

                              #15
                              Re: Bug in AIFF encoder - dropping samples

                              Just for confirmation. Is it absolutely certain that the Batch Converter (from FLAC to AIFF) is safe to use with version 7 of the codec?

                              Ralph

                              Comment

                              Working...

                              ]]>