How do I compare two FLACs to find the best one?

Discussion in 'Working with Sound' started by Swap, Dec 30, 2022.

Tags:
  1. demberto

    demberto Rock Star

    Joined:
    Nov 27, 2018
    Messages:
    933
    Likes Received:
    328
    That's good considering that 22050 is the nyquist limit itself for 44.1k systems. I am not sure I can really hear above 18 or 19 anyways.
     
  2. stopped

    stopped Platinum Record

    Joined:
    Mar 22, 2016
    Messages:
    512
    Likes Received:
    184
    I've sorted through thousands of duplicate flacs, how I do it:
    1) use foobar2000s file validity checker to make sure the flacs are intact and the file size is not different due to CRC errors
    2) use your ears to choose one to keep
     
  3. Valnar

    Valnar Rock Star

    Joined:
    Feb 21, 2020
    Messages:
    744
    Likes Received:
    348
    Nulltest is a good idea as people here found out, but use an analyzer and see how many dBs of volume the Delta signal has. That gives you a good approximation on how much actually got changed and where (on the frequency spectrum).

    You have the same problem with Nyquist filters in your DAW/Plugins - sure, lowpassing at 20khz with a very steep filter wouldn't have any audible result, but those LP filters usually go down to our hearing range ~16-18khz
     
  4. Sylenth.Will.Fall

    Sylenth.Will.Fall Audiosexual

    Joined:
    Aug 21, 2015
    Messages:
    2,617
    Likes Received:
    1,814
    As good as the 'null' test is, I don't need to do any of that. I'd play it in the car when the missus in the passenger seat. If she moans that it's too loud? I'd go with the other copy.
     
  5. No Avenger

    No Avenger Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    9,090
    Likes Received:
    6,348
    Location:
    Europe
    Just for the books, if you're doing a nil-test you can only find out whether there's a difference or not, not which one sounds better.
    Other than that, the others are right, two flac conversions of the same file with different compression still sound the same.
    So to find out which one is better, make a dynamic and frequency comparison and a blind test.
     
  6. demberto

    demberto Rock Star

    Joined:
    Nov 27, 2018
    Messages:
    933
    Likes Received:
    328
    That's exactly the reason I stopped using FL's Free Filter, there was a very noticeable change in the 16-18k region even if the filter was fully open. The filters in Love Philter are better (might be the same as well, but they sound good at defaults). I use kilohearts' filter now, it has 20k limit as well but it doesn't affect the 16-18k as much, not noticeably at all.
     
  7. junh1024

    junh1024 Rock Star

    Joined:
    Jul 28, 2011
    Messages:
    1,396
    Likes Received:
    433
    LAME has no lowpass for V0 VBR btw
     
    • Like Like x 2
    • Agree Agree x 1
    • List
  8. Swap

    Swap Newbie

    Joined:
    Dec 30, 2022
    Messages:
    2
    Likes Received:
    1
    I did a null test on Reaper and there was just silence in the master meter.

    I still haven't checked the answers that went into the area of a FLAC may be a transcoded lossy file, which is also very much of interest to me. Once I do I will get back to this thread.

    Thanks everyone!
     
  9. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,213
    Likes Received:
    3,993
    Location:
    Europe
    Words of true wisdom. Why this isn't already marked as "best answer"?
    We all love music, but there're lines we can't cross. For chrissake guys, get your priorities straight!!

    Nice, I'm not the only one who remembers VBR! In a decent world all lossy formats should be VBR, just like in video compression.
    Then there's the sad real world. Hug for you :wink:
     
    • Agree Agree x 1
    • Interesting Interesting x 1
    • List
  10. Trurl

    Trurl Audiosexual

    Joined:
    Nov 17, 2019
    Messages:
    2,480
    Likes Received:
    1,463
    It's honestly a legit question but I still have to wonder, if you can't hear a difference, does it matter?
     
  11. tzzsmk

    tzzsmk Audiosexual

    Joined:
    Sep 13, 2016
    Messages:
    3,603
    Likes Received:
    2,215
    Location:
    Heart of Europe
    well I'd rather delete installers for all those mediocre daws, plugins and kontakt libraries in first place :cool:
     
  12. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,213
    Likes Received:
    3,993
    Location:
    Europe
    Haha good one. I do use no install versions. But no install versions aren't smaller depending on the program/plugin. Well, unless you use 7Zip with cowboy/ballz to the wallz compression profile.
    And I "slim down" Kontakt libs. And beer bottles...
     
  13. Anamon

    Anamon Newbie

    Joined:
    May 4, 2024
    Messages:
    1
    Likes Received:
    1
    This thread ranks very highly on Google when looking for a tool to compare the audio content of FLAC files (which is how I found it), so I thought I'd add the solution I found even if it's an older thread. It should be quicker and simpler than nulling tests. Edit: and I noticed it's mentioned a few posts above, must have flown by my eyes… sorry!

    foobar2000 has this functionality built-in. Great if you're already using it as a music player anyway, like me, but it's also a small and non-intrusive software in case you want to use it just for this.

    Simply add both of your FLAC files to the playlist, select them, and from the right-click context menu choose Utilities > Verify integrity. Apart from checking the files for errors, it also calculates MD5 and CRC32 checksums of the audio streams. The checksums are calculated on the decompressed stream and discarding any metadata, etc. so if the files were differently encoded but from the same source, the results should match.

    I verified this using two FLAC copies I had of a CD, different in both bitrate and metadata, but each track of the two copies resulted in identical checksums.
     
    • Like Like x 1
    • Agree Agree x 1
    • List
  14. mild pump milk

    mild pump milk Russian Milk Drunkard

    Joined:
    Mar 29, 2014
    Messages:
    2,781
    Likes Received:
    2,370
    Location:
    Russia
    Lossless
    Identical
    Compression is not about quality, but other data.
     
  15. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,092
    Likes Received:
    825
    This is excellent information and makes it trivial to compare against AccuRip databases for losslessness of the source at scale. If someone wants to rebuild this in the command line for speed and less tedium:

    ffmpeg -i "input.flac" -f s16le -acodec pcm_s16le - 2>NUL | checksum

    Outputs the CRC32 of the raw PCM and is identical to the checksum from foobar2000's 'Verify'.

    (checksum.exe taken from libdeflate, NUL is the Windows null device)
     
  16. saccamano

    saccamano Rock Star

    Joined:
    Mar 26, 2023
    Messages:
    1,167
    Likes Received:
    475
    Location:
    CBGB omfug
    Correct me if I'm wrong, but FLAC files encoded at the highest degree of quality are in fact lossless when unraveled back into an uncompressed PCM format.
     
  17. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,092
    Likes Received:
    825
    FLAC itself is always lossless, but only supports 16, 24 and 32 bit integer formats. So if you print to 32 bit float WAV, you'd have to perform a lossy conversion to 32 bit int with another tool for FLAC to accept the file in the first place.
     
    • Interesting Interesting x 1
    • List
  18. NeXT

    NeXT Ultrasonic

    Joined:
    Apr 2, 2020
    Messages:
    30
    Likes Received:
    23
  19. BlackHawk

    BlackHawk Platinum Record

    Joined:
    Nov 28, 2021
    Messages:
    340
    Likes Received:
    170
    That is why you use WavPack for 32bit float files and not FLAC. Both have very similar file sizes, so ...
     
  20. Garamondo Furbish

    Garamondo Furbish Audiosexual

    Joined:
    Nov 13, 2023
    Messages:
    1,809
    Likes Received:
    860
    Location:
    North America
    unless your target audience is a dolphin no one will notice. life is short, find something else to obsess over. Like will the Indians ever win the World Series, or is the color blue I see, the same as the color blue you see? or why doesn't Godzilla just stay home instead of going to Tokyo to get his ass kicked on a regular basis?
     
Loading...
Similar Threads - compare FLACs find Forum Date
Is the Intel 14900K any good? How does it compare to AMD? PC Monday at 3:27 PM
R2R compared to Mocha,Team Cubeadoobie,BUBBiX and others Software May 16, 2024
Virtual Upright Basses Compare Software Reviews and Tutorials Apr 13, 2024
anyone compared PastToFutureReverbs (IR's) to Acustica Software Oct 28, 2023
Mix Master compare session begins Mixing and Mastering Jan 6, 2023
Loading...