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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Rockbox based Replaygain scans?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Rockbox based Replaygain scans?  (Read 6621 times)

Offline djrichwoods

  • Member
  • *
  • Posts: 37
Rockbox based Replaygain scans?
« on: August 12, 2007, 12:24:41 PM »
So I've tried everything I can find to add replaygain data to my mp3's and no matter what I do I can't seem to get anything to work...

I've used mp3gain on my entire Rockbox library and nothing changed... I even added the Replaygain display values to my WPS and the mp3gain updated tracks show no adjustment and everything sounds as it does when replaygain is off.

Is mp3gain just not a good tool to use to add replaygain data to my mp3's?

But back to my original question... is it possible to add some sort of internal scan of the tracks to add the replaygain data without using external software?  I understand not wanting to reinvent the wheel and this is why replaygain is the rockbox choice for EQ normalization but I'm wondering if something can be developed to make it easier to use...

At least I can't get anything to work with the Mac based mp3gain application...

And if an internal scan is not an option what can I use to see the portion of the tag that holds the replaygain data to see if mp3gain is doing what it says it's supposed to be doing?

I'm really frustrated by this whole process...

Thanks.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Rockbox based Replaygain scans?
« Reply #1 on: August 12, 2007, 12:38:10 PM »
mp3gain's default setting isn't to add Replaygain tags. Its default setting alters the internal gain of MP3s, meaning turning the setting on/off won't show any change: the MP3s themselves are altered.

There should be a tags only mode, or you can find an alternative method.

Replaygaining a collection on Rockbox could take many, many, many hours. As some codecs on some players only get a little less than 200% playback speed, if you have a dozen days of audio on your player, you could expect a bit less than a week of scanning, for example, I believe.
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Rockbox based Replaygain scans?
« Reply #2 on: August 12, 2007, 02:14:16 PM »
MP3Gain works in one of two modes:

  • Alter the MP3 data directly.
  • Write APE tags.

The first one will obviously work with Rockbox (as it works with every MP3 player), but isn't very flexible (can't toggle between track mode, album mode and off). The second does not work in Rockbox, as it doesn't support APE tags on MP3 files. I think the second method is the default in MP3Gain (as it is easy to reverse, by removing the tags), but I'm not sure.

Foobar2000 writes the ReplayGain values to ID3 tags, and Rockbox can read them. There may be other programs out there, but that's the one I know...

To see what MP3Gain does, open a processed file in a hex editor and look at the very end of the file. If it writes APE tags you'll see APETAGEX there, and the Replaygain values should be close to it. If so, you might find a tag converter that change it to ID3 tags (e.g., by putting the Replaygain tags into TXXX frames).
Logged

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Rockbox based Replaygain scans?
« Reply #3 on: August 12, 2007, 04:26:34 PM »
here's a guide to ReplayGain with Foobar

http://www.misticriver.net/showthread.php?t=26025&page=2

(scroll down to the first post)
Logged

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Rockbox based Replaygain scans?
« Reply #4 on: August 12, 2007, 06:32:27 PM »
If you're on a Mac, Foobar's not much help, unfortunately.

There's a command line solution here: http://www.rockbox.org/mail/archive/rockbox-dev-archive-2006-05/0207.shtml
It also requires MP3Gain and eyeD3, and as I recall the replaygain_tag script needed a bit of tweaking.

Alternatively, Play is a music player for Mac which does ReplayGain scanning, and I think writes the results as id3v2.4 tags.
Logged

Offline djrichwoods

  • Member
  • *
  • Posts: 37
Re: Rockbox based Replaygain scans?
« Reply #5 on: August 12, 2007, 07:01:10 PM »
Thanks all...

I'll check that Play app...

So a plugin to scan and add replaygain tags to the tracks on the player isn't a feasible idea?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Rockbox based Replaygain scans?
« Reply #6 on: August 12, 2007, 07:26:55 PM »
Quote from: djrichwoods on August 12, 2007, 07:01:10 PM

So a plugin to scan and add replaygain tags to the tracks on the player isn't a feasible idea?

I think it'd take a 60GB Ipod about 2 weeks to scan a disk full of mp3.  Never mind AAC files.  The Gigabeat S, if its ever finished, is probably the only port thats really fast enough for this to not be a completely terrible idea.

An easier plugin might be to just write something that copies the APEv2 mp3gain tags to ID3v2.  Theres already an APEv2 parser anyway in rockbox.
Logged

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Rockbox based Replaygain scans?
« Reply #7 on: August 12, 2007, 08:08:31 PM »
if you're on a Mac get Winx , problem solved

Yes I know that Apples OS-X is the Best Linux distro available ;D
Logged

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Rockbox based Replaygain scans?
« Reply #8 on: August 12, 2007, 10:41:16 PM »
Quote from: dunno on August 12, 2007, 08:08:31 PM
if you're on a Mac get Winx , problem solved

What is Winx, and what does it do? Could you provide a link?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Rockbox based Replaygain scans?
« Reply #9 on: August 13, 2007, 06:31:00 AM »
Quote from: ell1ps1s on August 12, 2007, 10:41:16 PM
What is Winx, and what does it do? Could you provide a link?

www.google.com
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline djrichwoods

  • Member
  • *
  • Posts: 37
Re: Rockbox based Replaygain scans?
« Reply #10 on: August 13, 2007, 11:05:28 AM »
Quote from: BigBambi on August 13, 2007, 06:31:00 AM
Quote from: ell1ps1s on August 12, 2007, 10:41:16 PM
What is Winx, and what does it do? Could you provide a link?

www.google.com

Why is this necessary?

I just did a Google search for both "Winx" and "Winx Mac" and neither came up with any results that even remotely resembled what dunno was talking about... Some kids show called Winx Club and Josh Wink, yes... something that runs on Mac, no....

So again...

What is Winx and is there a link that explains what it is and how it can help with applying replaygain tags to mp3's on rockbox?

Thanks.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Rockbox based Replaygain scans?
« Reply #11 on: August 13, 2007, 12:10:31 PM »
Rereading, I'm guessing it is a typo and he means wine.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Rockbox based Replaygain scans?
« Reply #12 on: August 13, 2007, 02:05:03 PM »
Quote from: BigBambi on August 13, 2007, 12:10:31 PM
Rereading, I'm guessing it is a typo and he means wine.
Nope.
My "Winx" comment was meant to be flippant, what I meant was get a windows OS like Winxp or Win vista
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Rockbox based Replaygain scans?
« Reply #13 on: August 13, 2007, 03:20:37 PM »
However, I believe foobar does run under wine.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Rockbox based Replaygain scans?
« Reply #14 on: August 13, 2007, 05:30:29 PM »
Quote from: dunno on August 13, 2007, 02:05:03 PM
what I meant was get a windows OS like Winxp or Win vista

And how does that help with the original question? Sure, if you already have an Intel Mac, and a copy of Windows under either BootCamp or Parallels, you could just use foobar. I wouldn't install Windows on a Mac just for that purpose, though.

Quote from: BigBambi on August 13, 2007, 03:20:37 PM
However, I believe foobar does run under wine.

Good answer for Linux, although I believe Amarok also has scripts which can scan and apply ReplayGain tags. Wine isn't readily available for Mac yet. The Darwine project is working on it, but it's far from ready. According to this link, it's possible to build Wine yourself, at least on an Intel Mac, but the Mac-native solution above still seems like a simpler solution at this point.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Rockbox based Replaygain scans?
 

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

Page created in 0.112 seconds with 14 queries.