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

Detection of silent phases in audio

Mar 27 at 9:04 PM
I want to detect percentage of silent phases in audio using NAudio in c#.
Algorithm that i can think of is that to look for consecutive samples having an absolute value less than a "threshold" amount. 0.00006 is -84.437 dB. If my approach is right then please tell me how can i do it using NAudio in c#. If my approach is wrong then help me out in tackling this problem