title: Changing volume in Python program on Raspbery Pi
body: <p>I use Raspbery Pi B+ 2. I have a Python program that uses the ultrasonic sensor to measure the distance to an object. What I would like to is change the volume depending on the distance to a human. Having a Python code to obtain the distance, I have no idea, how can I change the Raspbery Pi volume by a code in Python.</p>
  
  <p>Is there any way to do that?</p>