To do this, you need to examine the PCM samples individually. Mp3FileReader actually emits PCM in its Read method. It will be even easier if you use AudioFileReader as the samples will come as floating point numbers (with 1.0 as maximum value). Then you just examine each sample in a small range (e.g. 20ms) and check that none go over a certain minimum threshold. If so, you cen say that that block is silent.
↧







