By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,668 Members | 1,704 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,668 IT Pros & Developers. It's quick & easy.

calculating peak and normalize wav files

P: n/a
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.
Jul 10 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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]
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.

Jul 13 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.