title: Adjust audio volume level with CLI omxplayer - Raspberry Pi
body: <p>I have a bash script that plays .mp3 files on my Raspberry Pi via omxplayer. But can not control the local (earphone) audio volume with the <strong>GUI</strong>. Is there a command for the <strong>CLI</strong> that I can implement in the bash script? I have searched quite a bit, but can not find such a command.</p>
  
  <p>Code:</p>
  
  <p><code>omxplayer Song_Title.mp3</code></p>
  
  <p>Set audio for local (earphone) output:</p>
  
  <p><code>sudo modprobe snd_bcm2835
   sudo amixer cset numid=3 1</code></p>
  
  <p><code>omxplayer -o local</code></p>
  
  <p>Thanks!</p>