I agree with Mark: If you can use a whole second's average distance you are less likely to have a single 'bad' reading mess things up.
No, loud music does not affect the sensor - at least not until it's so loud all the humans have suffered damage....
