Help - Search - Members - Calendar
Full Version: Replay gain in java
Hydrogenaudio Forums > Hydrogenaudio Forum > Scientific Discussion
JeremyX
Hello,

I'm trying to implement replay gain in Java.
More exactly, im trying to get dB-Values for mp3 files.
according to these algorithms (http://replaygain.hydrogenaudio.org/mfiles/)

Unfortunatley there are 2 very complex Matlab operations i can't implement in java.

yulewalk
butter

so my question: Is there yet an implementation for Java or can anyone give me a hint how I can implement it.

Summarized:
Im seeking for algorithms getting the dB Values of a mp3 file.
The algortihm can be very simple if the result is acceptable.
The processing time should be as fast as possible.

Thanks a lot.
Jeremy
[JAZ]
butter -> http://en.wikipedia.org/wiki/Butterworth_filter

I don't know Yule walk, but seems to be an IIR filter.


You may not need to apply those filters specifically, although the final result may differ (not by much).


It may be simpler to try to find a C/C++ implementation so that you can convert it easier.
lvqcl
QUOTE ([JAZ] @ Oct 1 2009, 21:09) *

It may be simpler to try to find a C/C++ implementation so that you can convert it easier.


LAME has RG calculation code (if you don't mind GNU LGPL):
http://lame.cvs.sourceforge.net/*checkout*...gain_analysis.c
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-2009 Invision Power Services, Inc.