Sign in

username:

password:



Not a member?

Search audiodsp



Search tips

Subscribe to audiodsp



audiodsp by Keywords

AAC | ADPCM | Convolution | DAFx | FFT | IIR | Mixer | MP3 | MPEG | MPEG-4

Sponsor

DM6467T DaVinci video processor enables H.264 1080p decoding up to 60 fps/eight D1 channel encoding.
Details Here!

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Audio Signal Processing | How to increase audio file gain

Technical discussions related to Audio Signal Processing (digital effects, acoustics, noise reduction, musical signal processing, etc).

  

Post a new Thread

How to increase audio file gain - Rohith MP - Jun 12 16:30:09 2009

Hi all,

I have a  two  audio files ..File A and File B.

File A has overall gain of -23dB and File B has gain of -5 dB , Now If i 
want to equalize the gain i.e amplify the File A to match it to File B 
without degrading audio quality how to achieve this?

Anticipating a reply.

Thanks in advance.

Warm Regards,
Rohith M P

______________________________
DSPRelated.com's 50,000th member announced! Details Here.



(You need to be a member of audiodsp -- send a blank email to audiodsp-subscribe@yahoogroups.com )

Re: How to increase audio file gain - Tom Lawton - Jun 15 7:34:28 2009

Hi Rohith,

What do you mean by overall gain? If you are talking about dBFS RMS
power, you will have to look at limiting and compression to achieve this
- basic remastering.

To normalize an audio file, based on peak values, with reference to File
B, rather than 0dBFS:

Divide the peak value (not the dB value, the actual sample value) of
File B, by the peak value of File A. This will give you the
amplification factor.

Multiply all samples in File A by the amplification factor. The peak
values will be equal, however the RMS will not.

You could build in a function to ignore excessive peaks (pops + clicks)
if they are reducing the effectiveness of the normalisation.

Hope this helps,

Tom.

Rohith MP wrote:
>
> Hi all,
>
> I have a  two  audio files ..File A and File B.
>
> File A has overall gain of -23dB and File B has gain of -5 dB , Now If
> i want to equalize the gain i.e amplify the File A to match it to File
> B without degrading audio quality how to achieve this?
>
> Anticipating a reply.
>
> Thanks in advance.
>
> /Warm Regards,/
> /Rohith M P/
> / /





(You need to be a member of audiodsp -- send a blank email to audiodsp-subscribe@yahoogroups.com )