HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: benzin on 2013-03-31 20:48:49

Title: Bug: ReplayGain not saved for some 24-bit wav files
Post by: benzin on 2013-03-31 20:48:49
I have several mono and stereo wav files (all good and playable) which I'm trying to ABX compare. For this purpose, I need their gains adjusted.
For most of the files of the bunch ReplayGain scanning worked fine, but there were 4 mono files for which the scanning worked, showing the needed gain adjustment, but when I clicked "Update File Tags", the windows closed, but the info didn't get saved with the files.
I also attempted to convert the files to the same format, just changing the filenames, but this didn't work.
However, when I converted them to 16-bit, the info could be saved. Similarly when I converted them to 24-bit flac files, I could successfully scan and save the gains.

So currently I will use the flacs as a workaround, but obviously, something is wrong with the ReplayGain mechanism.

I tried this with v1.2 and then updated foobar to 1.2.4, but the bug remained.

Here's link to one of the problemmatic files:
24-bit mono wav file (http://www.gearslutz.com/board/attachments/gear-shoot-outs-sound-file-comparisons-audio-tests/166208d1270229909-at4080-at4081-ribbons-cmc6-mk2-sm57-piano-voice-guitar-amp-cleang-at4080.wav)
(I hope it will work for unregistered users of the gearslutz forum)

Cheers!

benzin

Update: initially I linked to the wrong file, link updated.
Title: Bug: ReplayGain not saved for some 24-bit wav files
Post by: Peter on 2013-04-02 11:17:40
Thanks for the report.
The file appears to be malformed; there are improperly aligned chunks at the end of it - looks like some application that wrote/updated the file before botched the process.
I recommend using foobar2000 converter to convert it to WAV - producing a fresh WAV file without the malformed chunks; then you can freely tag it.
Title: Bug: ReplayGain not saved for some 24-bit wav files
Post by: benzin on 2013-04-02 11:26:27
I recommend using foobar2000 converter to convert it to WAV - producing a fresh WAV file without the malformed chunks; then you can freely tag it.


Thanks, but as stated in the report, I tried this, and it didn't help. Only converting to a 16-bit WAV file allowed me to tag. Try this and see yourself. 

BTW, the files I converted to 24-bit FLAC allow tagging, but won't allow seeking, e.g. I cannont jump to a different time in the file, so also ABX comparison didn't function.
Title: Bug: ReplayGain not saved for some 24-bit wav files
Post by: Peter on 2013-04-02 12:17:11
Indeed looks like Converter also doesn't properly handle WAV streams that carry odd byte counts (eg. mono + 24bit + odd sample count).
Bug fixed for the next version, thank you for your patience.
Title: Bug: ReplayGain not saved for some 24-bit wav files
Post by: lvqcl on 2013-04-02 15:39:41
BTW, the files I converted to 24-bit FLAC allow tagging, but won't allow seeking, e.g. I cannont jump to a different time in the file, so also ABX comparison didn't function.


Try flac.exe from fb2k encoder pack: http://www.foobar2000.org/encoderpack (http://www.foobar2000.org/encoderpack)
Title: Bug: ReplayGain not saved for some 24-bit wav files
Post by: lvqcl on 2013-04-02 22:47:39
I cannont jump to a different time in the file

Is it during playback or during ABX test?