title: Playing .mp3 files with PyAudio
body: <p>Can pyaudio play .mp3 files? If yes, may I ask to write an example please. If no, what is the simplest way to convert .mp3 to .wav? </p>
  
  <p>I have tried to use PyDub, could get my .wav file, but when I try to play it with PyAudio I get following error:</p>
  
  <pre><code>  File "C:\Python33\lib\wave.py", line 130, in initfp
      raise Error('file does not start with RIFF id')
  wave.Error: file does not start with RIFF id
  </code></pre>
  
  <p>With other .wav samples (which where <em>not</em> converted from mp3) if works well.</p>
  
  <p>I am using gTTS library to convert text to speech for my application. It creates short .mp3 files which I need to play then. Right now I am using just </p>
  
  <pre><code>os.system("start english.mp3")
  </code></pre>
  
  <p>I want to find a better way to do this. First of all I don't want to be restricted about the platform. Secondly, I don't like that the player pops-up when the file begins to play, I'd like it to stay on the background.</p>
  
  <p>I try to find the minimalist solution for this, as I don't need anything more than simple playing. </p>
  
  <p>UPD: I managed to play it with pyglet. Seems fine, except it takes sooo long... I have about 10 seconds delay before I hear the sound. And it doesn't work proper with threading (I want to play the .mp3 while the program is still running).
  Is there the way just to make the player stay on the background and not pop-up over all other windows?</p>