Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  id3 v2.4 replaygain
« previous next »
  • Print
Pages: [1]

Author Topic: id3 v2.4 replaygain  (Read 3080 times)

Offline ddoonie

  • Member
  • *
  • Posts: 11
id3 v2.4 replaygain
« on: February 08, 2008, 02:15:19 AM »
I've searched far and wide to find an app for mac that will calculate replay gain values for mp3's, and i have finally found play.  The only problem i have is that it only writes to id3 2.4, and i believe that rockbox only reads 2.3?  After scanning some music, and loading into my ipod, rockbox is able to read the album replaygain field only, leaving the track field empty.  Do you know of anyway around this, or how i can somehow get this to work?  Or even if there are other mac apps that will work with rockboxes replay gain?

Thanks for your time

Darryl
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: id3 v2.4 replaygain
« Reply #1 on: February 08, 2008, 04:45:30 AM »
Rockbox reads my few files that have ID3v2.4 tags files fine which I tagged with mp3tag in Windows. Album, title and so on are all displayed correctly - I never tried replaygain though. If this doesn't work for you I can only imagine that the program you found does not use the standard tag fields. Maybe you can find a program that does a better job on the UsefulTools wiki page.
« Last Edit: February 08, 2008, 04:48:23 AM by pixelma »
Logged

Offline ryran

  • Member
  • *
  • Posts: 379
    • b19 photography
Re: id3 v2.4 replaygain
« Reply #2 on: February 08, 2008, 09:10:21 AM »
Yeah. All my mp3s are replaygained & tagged with id3v2.4 by foobar2k. I've never had any problems.
Logged

Offline ddoonie

  • Member
  • *
  • Posts: 11
Re: id3 v2.4 replaygain
« Reply #3 on: February 08, 2008, 10:44:21 AM »
I am 99 percent certain it is written in v2.4 (asked the developer similar questions haha).  I believe that it is written in the correct fields, as i can load it in foobar2000 and it will read all fields...  I can scan an mp3 and post it up here, i that would help anyone...  

Thanks for your time!!

Darryl
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: id3 v2.4 replaygain
« Reply #4 on: February 08, 2008, 12:05:18 PM »
Quote from: ddoonie on February 08, 2008, 10:44:21 AM
I am 99 percent certain it is written in v2.4 (asked the developer similar questions haha).  I believe that it is written in the correct fields, as i can load it in foobar2000 and it will read all fields...  I can scan an mp3 and post it up here, i that would help anyone...  

Please do. If it works in Foobar2000, it should work in Rockbox too. A short "dummy" file will do, as long as it has the right tags.
Logged

Offline ddoonie

  • Member
  • *
  • Posts: 11
Re: id3 v2.4 replaygain
« Reply #5 on: February 08, 2008, 03:33:37 PM »
I put some mp3's up on the site, i just tested them on my rockbox'd ipod, with same results, track gain info is not there, but album gain info is...

http://srcpro.com/2.html

If you go to that link there are 4 samples.

I opened the same mp3's in foobar, and it reads both album and track gains, i dont get ittttttttttt haha...  

Thank you for your time!

Darryl
Logged

Offline rasher

  • Developer
  • Member
  • *
  • Posts: 295
    • My Rockbox stuff
Re: id3 v2.4 replaygain
« Reply #6 on: February 08, 2008, 03:50:33 PM »
Quote from: ddoonie on February 08, 2008, 03:33:37 PM
I put some mp3's up on the site, i just tested them on my rockbox'd ipod, with same results, track gain info is not there, but album gain info is...

http://srcpro.com/2.html

That first file at least, has both replaygain values (track, album) in TXXX fields (which fb2k prefers) but only one value in an RVA2 frame (which is the standard in id3v2.4, and which I believe Rockbox prefers).
Logged

Download my Rockbox stuff: Prebuilt Windows simulators, Fonts, and more!

Offline ddoonie

  • Member
  • *
  • Posts: 11
Re: id3 v2.4 replaygain
« Reply #7 on: February 08, 2008, 04:02:04 PM »
How does this differ from how foobar writes the rva2 frame? does foobar write both values into the frame?  Basically what does that Play software need to do differently for rockbox to read this properly?
« Last Edit: February 08, 2008, 04:04:37 PM by ddoonie »
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: id3 v2.4 replaygain
« Reply #8 on: February 09, 2008, 03:16:20 AM »
Foobar doesn't write any RVA2 frame. It only supports the TXXX frames, so any issues with the RVA2 frame won't be seen by it.

Rockbox on the other hand sees both values, but in this case it should've ignored the RVA2 value, on the basis that it was unclear. This did happen in an earlier version, now it just sets the gain to 0 instead...
« Last Edit: February 09, 2008, 03:27:08 AM by Lear »
Logged

Offline ddoonie

  • Member
  • *
  • Posts: 11
Re: id3 v2.4 replaygain
« Reply #9 on: February 09, 2008, 03:25:11 AM »
so if foobar doesn't write to rva2 frames, then why does rockbox pick up the replay gain tags that foobar scans, and not what the play program scans?  If i open the files i scanned in play in foobar, it reads the replaygain fine, all info, track album peak etc...  So what is the difference between how these programs are writing the info?  Speaking to the developer of Play, he states that he is writing to v2.4 tags, but only writing one string in the rva2 frame.

Thanks for your help...

sucks that there are no replaygain programs for os x!!
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: id3 v2.4 replaygain
« Reply #10 on: February 09, 2008, 03:36:20 AM »
I was a bit unclear; Rockbox does read the Foobar replaygain values, but the track gain value is then - incorrectly - reset to zero, because Rockbox doesn't know what to do with the single RVA2 value (it contains no indication if it is track or album gain).

You could ask the Play developer to write RVA2 tags just like Quod Libet does, as described here: http://www.sacredchao.net/quodlibet/wiki/Specs/ID3

I'll fix Rockbox so that it ignores the "bad" RVA2 value, as intended.
Logged

Offline ddoonie

  • Member
  • *
  • Posts: 11
Re: id3 v2.4 replaygain
« Reply #11 on: February 10, 2008, 02:16:37 AM »
Just an update (for future os x people wanting replaygain scans!!), i asked the developer of play, he added the other rva2 frame string, but didnt work...  I don't quite know how to read the rva2 tags on my computer...  Basically, does anyone know the diff between how foobar and play are writing these tags?  And how rockbox is reading them?  It is reading foobar's without problem, but only the album in Play.  

Thank you all or your help!

Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: id3 v2.4 replaygain
« Reply #12 on: February 10, 2008, 03:47:40 AM »
The reason the recent changes in Play didn't work in Rockbox is that the ID strings (for the RVA2 frames) were set to "replaygain_track_gain" and "replaygain_album_gain", not "album" and "track" (as mentioned in the document I referred to). Also, RVA2 frames supports peak values, but they are not written by Play.

Foobar just writes TXXX frames, whereas Play writes TXXX and RVA2 frame(s). Rockbox supports both, but doesn't handle the Play RVA2 frames right. Because the RVA2 frame(s) comes after the TXXX frames, you get the problem.
Logged

Offline ddoonie

  • Member
  • *
  • Posts: 11
Re: id3 v2.4 replaygain
« Reply #13 on: February 10, 2008, 05:02:15 AM »
Lear, thank you for clarifying!  I submitted final requests to the developer of Play, we'll see what happens.  We may finally have a fully functioning replaygain writer for OS X!!! woohoo!!
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  id3 v2.4 replaygain
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.092 seconds with 14 queries.