HOPKINS: Simplify code in checkSounds()