Hi guys, running the latest version of foobar I get a good bunch of loud beeps in a tune so here's a sample(remuxed to MKA in order to avoid any reencoding): http://www.datafilehost.com/download-e6c1e344.html (http://www.datafilehost.com/download-e6c1e344.html)
You need to uncheck "Use our download manager and get recommended downloads" and click on the left DOWNLOAD button.
It passes all tests successfully in the official FLAC frontend, the decoded WAV file plays fine in foobar and there's no beep with madflac in MPC. I don't think I'm doing something wrong so if it really beeps, a bugfix would be amazing please
You could have posted a raw FLAC file without fearing it would get re-encoded on its own. Anyway, the file is corrupted. Flac.exe reports "ERROR, MD5 signature mismatch" and it can't decode it to wav without forcing decoding through errors. I suspect the only reason flac.exe decoded file doesn't sound so bad is that the PCM format clips the error to normal level. foobar decoded file has peak 65 thousand times above digital fullscale.
ORLY? I will check again, thanks for the notice. But on the original file, FLAC Tester says:
[1/1] 06 Misty In Roots - Judas Iscariote.flac...OK
1 files, 0 errors
And if I click on "TEST" in the FLAC frontend, I get:
flac 1.2.1, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
06 Misty In Roots - Judas Iscariote.flac: ok
You prolly get a MD5 notice because I obviously cut a small sample with MKVToolnix but the full file checks fine and plays perfectly with madflac(and other several audio players IIRC). Maybe MKVToolnix cut it in a nasty way, but it does decode to WAV without forcing "dec. through errors":
flac 1.2.1, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
06 Misty In Roots - Judas Iscariote.flac: done
-------------------------------------------------------------------------------
I can post the full file if it's allowed, or I can PM you a link as the file doesn't look damaged to me.
more testing:
flac.exe -t "06 Misty In Roots - Judas Iscariote.flac"
flac 1.2.1, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
06 Misty In Roots - Judas Iscariote.flac: ok
flac.exe -d "06 Misty In Roots - Judas Iscariote.flac"
flac 1.2.1, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
06 Misty In Roots - Judas Iscariote.flac: done
It glitches up in foobar so yeah, I guess a conversion to WAV in foobar isn't going to help much. Lemme know how I can send you the full file so you can see for yourself. Thanks!
You could try sendspace or mediafire, or anonfiles if you think they won't botch the files on their server like they have for me a few times, and PM the link to Peter.
Alright, here goes the full file then: [removed as per TOS #9]
It glitches up at 2'21 and there are other occurrences IIRC.
Really. In foobar this file glitches, but flac.exe decodes it with no problems.
Problem being investigated, thanks for reporting.
Great news, thanks in advance
Same problem as here:
http://www.hydrogenaudio.org/forums/index....showtopic=61792 (http://www.hydrogenaudio.org/forums/index.php?showtopic=61792)
According to the FLAC author himself, such file is corrupted.
I can make foobar2000 decode this correctly but it will cause a slight drop in FLAC decoding performance for everyone.
Issue does not affect other apps (such as standalone FLAC.exe) if they don't operate on 32-bit float audio samples.
Oh, well how about an extra option for pesky files? FWIW this file decodes fine in all the other players I tried and ppl with fast CPU's couldn't care less about a tiny extra load that would ensure that they never get loud beeps in their music IMHO.
I can make foobar2000 decode this correctly but it will cause a slight drop in FLAC decoding performance for everyone.
Depends a bit on what “correctly” should mean for a noncompliant file.
One might consider handling this by the file integrity verifier? (Would there be the same performance penalty there? Is this an issue only with a certain encoder, and which is detectable by e.g. %__tool%?)
How about setting in "Advanced\Decoding" or "Advanced\Playback" preferences - like "Enable alternative FLAC decoding routine (decreased performance, workarounds malformed FLAC files)" ?
Who cares about performance in this case?
But who cares about broken FLAC files?
Who cares about performance in this case?
I can make foobar2000 decode this correctly but it will cause a slight drop in FLAC decoding performance for everyone.
Developer
But who cares about broken FLAC files?
Author of the thread
Well, there are both poorly encoded audio and video files out there and my file plays fine in all the other audio players I tried(and some of them process audio internally in 64fp for that matter). I don't really see how an end-user would care about a most likely unmeasurable performance drop if that would ensure that he doesn't get loud beeps in his music? But yeah, sure, an "enable error resilience at the cost of a slight performance hit" sub-option will do just fine
Problem corrected in the new 1.2.3 beta. Because other optimizations have been added at the same time, it should be at least as fast as the old versions without the fix.
Additionally, the File Integrity Verifier component can now reliably detect such files.
On File Integrity Verifier download site ( http://www.foobar2000.org/components/view/foo_verifier (http://www.foobar2000.org/components/view/foo_verifier) ) there's still version from 2009:
"Current version
1.1, released on 2009-10-05"
So I understand that it will be updated soon ?
No, the FLAC decoder has been changed to tell the integrity verifier about these. No new verifier update needed.