title: After loading an image I am trying to run audio file
body: <p>from <a href="https://github.com/OthmanAlkandri/game_using_pygame.gitusing" rel="nofollow noreferrer">https://github.com/OthmanAlkandri/game_using_pygame.gitusing</a>  <strong>Aduio_integration_aprroch2.py</strong>
  After loading the Image, I am trying to play audio files using the following commands and library.</p>
  <pre><code>from pygame import mixer
  
  
  &quot;&quot;&quot;&quot; lad the mp3 files&quot;&quot;&quot;
  &quot;&quot;&quot;&quot; lad the mp3 files&quot;&quot;&quot;
  r= open(&quot;/Users/okand/Documents/school/code/tiger.wav&quot;,)
  s= open(&quot;/Users/okand/Documents/school/code/tiger1.wav&quot;,)
  
  
  right = pygame.mixer.Sound(r)
  tiger1 = pygame.mixer.Sound(s)
  
  
  
  pygame.mixer.Sound.play(tiger1)      
  pygame.mixer.music.stop()
  </code></pre>
  <p>The problem I did not resolve is that I could not integrate the audio files so my code should play different audio files when different pics are being displayed, but they are,  not the audio files are being overlapped. This is my flowchart I hope it will support the explanation.</p>
  <p><a href="https://i.stack.imgur.com/xGUIY.png" rel="nofollow noreferrer">enter image description here</a></p>