add silence detection to record