This project has moved and is read-only. For the latest updates, please go here.

Silence recognition

Jun 4, 2014 at 9:21 PM
Hello,

Is there a way to recognize where there's silence (or minimum sound) in a WAV\MP3 file?
If so, can I get a code sample please?

Thank you,
Olga.
Jun 5, 2014 at 8:21 AM
Use audiofilereader to read blocks of floating point samples (in the Read) method. Then examine each one and see if they fall under your specified minimum threshold.