title: C# How do I play ONE mp3 audio file at a time
body: <p>What I am trying to do is play a sound file for an item selected in a list box. For example: item 1 plays "1.mp3" and item 2 plays "2.mp3"
  BUT the thing is, it needs to stop the other audio and then play. It does this when playing wavs:</p>
  
  <pre><code>private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
      {
          if (listBox1.SelectedIndex == 0)
          {
              SoundPlayer player = new SoundPlayer();
              player.SoundLocation = "S1.mp3";
              player.Play();
          }
          if (listBox1.SelectedIndex == 1)
          {
              SoundPlayer player = new SoundPlayer();
              player.SoundLocation = "S2.mp3";
              player.Play();
          }
          if (listBox1.SelectedIndex == 2)
          {
              SoundPlayer player = new SoundPlayer();
              player.SoundLocation = "S3.mp3";
              player.Play();
          }
     }
  </code></pre>
  
  <p>But wavs are too big so I need an alternative.</p>
  
  <p>I have looked all over to find a solution but nothing works :( NAudio plays the sounds on top of each other and I couldn't find out how to use NVorbis and oggsharp etc.</p>
  
  <p>Using any format of audio is fine, I don't care. I just can't use wav.</p>