I'm trying to identify periods of silence in a WAV file, ideally with some ability to set a threshold so background noise isn't interpreted as sound. My objective is to analyze (legal) recordings of phone calls and determine what percentage of the time neither party is speaking.