title: how to adjust the volume of the audio file by serially getting the voltage signals from the potentiometer using arduino board and python scripts
body: <p>I want to adjust the volume of the mp3 file while it is being playing by adjusting the potentiometer. I am reading the potentiometer signal serially via Arduino board with python scripts. With the help of <code>pydub</code> library i can able to read the file but cannot adjust the volume of the file while it is being playing. This is the code i have done after a long search
  I specified only the portion of Pydub part. for your information im using vlc media player for changing the volume.</p>
  
  <pre><code>&gt;&gt;&gt; from pydub import AudioSegment
  &gt;&gt;&gt; song = AudioSegment.from_wav("C:\Users\RAJU\Desktop\En_Iniya_Ponnilave.wav")
  </code></pre>
  
  <p>While the file is playing, i cannot adjust the value. Please, someone explain how to do it.</p>