calculating peak and normalize wav files

  • Thread starter Thread starter asharda
  • Start date Start date
A

asharda

Hi,

I have to write a program which will calculate the PEAK and Normalize
the audio files.

I already have a class which returns an array of in for a given wave
file.

Does anyone know how I can get the PEAK value in decibels instead of
integer or double?
Also, how can I normalize the file? I have already calculated the RMS
(root mean square) for the file.

Any help will be appreciated.

Thanks in advance for your time.
 
Hello,

This is definitely not the right group for asking DSP-related questions.
However you may have a look at SNR and PSNR definitions in wikipedia. I guess
these are the same metrics (but for images) as you are looking for wav...

Kind regards,
Andrei Varanovich [C# MVP]
 
Back
Top