title: Pygame - can I make music have an introduction and then a loop point?
body: <p>I'm currently working on a game in Pygame, and I've been trying to think of a way to have a music track that loops at a point that isn't the beginning of the track. So essentially, it plays an introduction, then moves onto another section that repeats without revisiting that introduction.</p>
  
  <p>I've thought of a couple of ways that almost worked, but they have problems.</p>
  
  <p>The first was to have two separate audio files for the introduction and the looping section, then to use <code>pygame.music.set_endevent()</code>, and just load the second audio file once the first is finished. This left quite an obvious gap and click though.</p>
  
  <p>The second was to also use two audio files but to queue in the second as the first is loaded. The problem with this is that it seems like you can't change the play mode from 0 (play once) to -1 (looping) for the new queued track...</p>
  
  <p>I feel like there has to be a way of doing this, I'd really appreciate any help.</p>