Add silence detection functionality