No need to shout. Just simply paste "Silence detected." is enough. Rather then printing "Silence Detected" over and over and over again I would also detected when silence is no longer detected. Track silence as a state, this way once silence is detected it won't print again and you just need to figure out when this state is no longer in progress.