Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: SR 88200 Replay Gain possible? (Read 6706 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

SR 88200 Replay Gain possible?

Hi,

I have got a 24-bit 88200 Hz STEREO FLAC album from Musictrade.

Now, how do I calculate Replay Gain for it, as I always use RG. The program I actually use, called MetaFLAC.exe says: "The sample rate must be one of 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48 kHz."

Similar situation with another one I use, WaveGain: "WaveGain input files may be 8, 16, 24 or 32 bit integer, or floating point wave files with 1 or 2 channels and a sample rate of 48000Hz, 44100Hz, 32000Hz, 24000Hz, 22050Hz, 16000Hz, 12000Hz, 11025Hz or 8000Hz."

Any new programs that can address higher SRs?

So, what should I do when the source is 88200 Hz then? Should I decode it into WAVE and cut the sample rate to 44100, calculate RG, and use the values in the original source? Seems quite acceptable to me.

SR 88200 Replay Gain possible?

Reply #1
I'm sure that you won't make the obvious mistake of resampling to 44100, making your modifications, and then resampling back to 88200. Once you resample to 44100, leave it there.

SR 88200 Replay Gain possible?

Reply #2
I dont know the inner workings of Replay Gain but a fair guess would be that calculating the RG value for a downsampled version, then applying the tags directly to the original (non-touched file) would work excellent.

-k

SR 88200 Replay Gain possible?

Reply #3
I dont know the inner workings of Replay Gain but a fair guess would be that calculating the RG value for a downsampled version, then applying the tags directly to the original (non-touched file) would work excellent.

-k


yes, that is what I think as well

SR 88200 Replay Gain possible?

Reply #4
Hi,

I have got a 24-bit 88200 Hz STEREO FLAC album from Musictrade.

Now, how do I calculate Replay Gain for it, as I always use RG. The program I actually use, called MetaFLAC.exe says: "The sample rate must be one of 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48 kHz."

Similar situation with another one I use, WaveGain: "WaveGain input files may be 8, 16, 24 or 32 bit integer, or floating point wave files with 1 or 2 channels and a sample rate of 48000Hz, 44100Hz, 32000Hz, 24000Hz, 22050Hz, 16000Hz, 12000Hz, 11025Hz or 8000Hz."

Any new programs that can address higher SRs?

So, what should I do when the source is 88200 Hz then? Should I decode it into WAVE and cut the sample rate to 44100, calculate RG, and use the values in the original source? Seems quite acceptable to me.


You can calculate Replay Gain with Winamp 5.51 or higher - I added filter coefficients for 64khz, 88.2khz and 96khz.  Since I use the LGPL implementation of ReplayGain, I submitted a patch for AACGain to allow these sample rates, also.  It's been accepted, but I'm not sure that it's made its way onto other projects yet.  I will talk to Josh Coalson about adding support to MetaFLAC, also.

SR 88200 Replay Gain possible?

Reply #5
If you resample, make sure you don't attenuate the signal any. Peak values will be different in the resampled file, but track and album gain should be nearly the same.

SR 88200 Replay Gain possible?

Reply #6
I wonder why no one has mentioned foobar2000 yet. It can analyze 88.2 kHz FLAC files and add replay gain tags.

Actually, I think foobar can do this with any format it can decode. If the file format cannot be tagged with foobar usually a cue sheet or APL files can be used for holding the tags.

SR 88200 Replay Gain possible?

Reply #7
You can calculate Replay Gain with Winamp 5.51 or higher - I added filter coefficients for 64khz, 88.2khz and 96khz.  Since I use the LGPL implementation of ReplayGain, I submitted a patch for AACGain to allow these sample rates, also.  It's been accepted, but I'm not sure that it's made its way onto other projects yet.  I will talk to Josh Coalson about adding support to MetaFLAC, also.


I have tried 5.51 and it ended up with the values like: +64.82 dB. I used right click and selected Send To - Calculate Replay Gain. BTW, Winamp refused to calculate RG on decoded WAVE files, although they show fine in Goldwave as 24-bit 88200.

It is obviously distorted as hell.



update: I resampled one track in Goldwave to 44100 and WaveGain reports:

Analyzing...

  Gain  |  Peak  | Scale | New Peak |Left DC|Right DC| Track
          |        |      |          |Offset | Offset | Track
--------------------------------------------------------------
-0.19 dB |  32400 |  0.98 |    31699 |  -7  |    -7  | 01.wav


WaveGain Processing completed normally

SR 88200 Replay Gain possible?

Reply #8
If you look at the graph at the bottom of this page...

http://replaygain.hydrogenaudio.org/equal_loudness.html

...you'll see ReplayGain filters out everything above 22kHz before "listening" to the signal, so the 88.2 and 44.1kHz sampled versions should give near identical results. If you get more than 1dB or so difference, then something has probably gone wrong somewhere.

As noted, the peaks will be different, but the loudness will be the same.

Cheers,
David.