integrated playing of sound if event happens