This project has moved. For the latest updates, please go here.

naudio to analyze wav file audio level

Dec 15, 2010 at 8:06 PM

i want to analyze a wav file and determine the level of the audio in that file. i see in naudio it can display this data but only when its in .play which plays the audio, i only want to get the information as to how loud it is. can this be done? thank you.

Dec 24, 2010 at 9:54 AM

you need to look at the value of each sample individually. Have a look at WaveChannel32 to see how to convert each sample into a floating point number