well look into parallax ping sensor is designed for upto three meters look into maxbotic thingies they have a range of upto six meters
how will you adjust the volume ?
send on data to the laptop to set volume accordingly or mechanically turn the volume knob ?