IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Bug: ReplayGain not saved for some 24-bit wav files
benzin
post Mar 31 2013, 20:48
Post #1





Group: Members
Posts: 5
Joined: 28-April 12
Member No.: 99284



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.

This post has been edited by benzin: Mar 31 2013, 20:54
Go to the top of the page
+Quote Post
Peter
post Apr 2 2013, 11:17
Post #2





Group: Admin
Posts: 3269
Joined: 30-September 01
Member No.: 84



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.


--------------------
This job would be great if it wasn't for the users.
Go to the top of the page
+Quote Post
benzin
post Apr 2 2013, 11:26
Post #3





Group: Members
Posts: 5
Joined: 28-April 12
Member No.: 99284



QUOTE (Peter @ Apr 2 2013, 12:17) *
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. unsure.gif

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.

This post has been edited by benzin: Apr 2 2013, 11:30
Go to the top of the page
+Quote Post
Peter
post Apr 2 2013, 12:17
Post #4





Group: Admin
Posts: 3269
Joined: 30-September 01
Member No.: 84



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.


--------------------
This job would be great if it wasn't for the users.
Go to the top of the page
+Quote Post
lvqcl
post Apr 2 2013, 15:39
Post #5





Group: Developer
Posts: 3212
Joined: 2-December 07
Member No.: 49183



QUOTE (benzin @ Apr 2 2013, 14:26) *
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
Go to the top of the page
+Quote Post
lvqcl
post Apr 2 2013, 22:47
Post #6





Group: Developer
Posts: 3212
Joined: 2-December 07
Member No.: 49183



QUOTE (benzin @ Apr 2 2013, 14:26) *
I cannont jump to a different time in the file

Is it during playback or during ABX test?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th April 2014 - 00:53