What if the distance sensor controlled the volume instead of the