Help - Search - Members - Calendar
Full Version: Calculating RG Values
Hydrogenaudio Forums > Hydrogenaudio Forum > Scientific/R&D Discussion
Jaggo
Hey!
Basically:

I'm looking for a function, or a method, written in C or PYTHON or even an EXE, which takes a single mp3 file as input - and returns its RG value - WITHOUT altering the file or its headers in any way.

To explain:

I realize this is not a fresh topic, but I have so far been unable to find what I'm looking for,
which is:

I use iPod + iTunes. I spent my time looking for a program, script, anything, which'll store the RG values so's they affect my Soundcheck values.

Now- I looked at this post, and I'm afraid to say it does not work for me.

I've since then learned a bit programming, and am now looking for something very simple:

-A method, a function, either in C or Python or already compiled, which takes as input a single mp3 file and returns its RG value. All this without altering the file itself or its headers in any other way.-
kalmark
Maybe you can use MP3Gain this way? You can download the source, too, maybe there you can find what you seek.
Junon
Yep, mp3gain/aacgain does the job:

IPB Image

You just mustn't add -r (TrackGain) or -a (AlbumGain) to the command line in order to prevent the application from altering the file(s). "mp3gain *.mp3" for whole directories works as well, of course.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.