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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top