Skip to main content

Topic: Bug: ReplayGain not saved for some 24-bit wav files (Read 1145 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • benzin
  • [*]
Bug: ReplayGain not saved for some 24-bit wav files
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
(I hope it will work for unregistered users of the gearslutz forum)

Cheers!

benzin

Update: initially I linked to the wrong file, link updated.
  • Last Edit: 31 March, 2013, 03:54:11 PM by benzin

  • Peter
  • [*][*][*][*][*]
  • Administrator
Bug: ReplayGain not saved for some 24-bit wav files
Reply #1
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.

  • benzin
  • [*]
Bug: ReplayGain not saved for some 24-bit wav files
Reply #2
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.
  • Last Edit: 02 April, 2013, 06:30:57 AM by benzin

  • Peter
  • [*][*][*][*][*]
  • Administrator
Bug: ReplayGain not saved for some 24-bit wav files
Reply #3
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.

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Bug: ReplayGain not saved for some 24-bit wav files
Reply #4
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

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Bug: ReplayGain not saved for some 24-bit wav files
Reply #5
I cannont jump to a different time in the file

Is it during playback or during ABX test?