title: Change MP3 frequency on the fly somehow?
body: <p>Does anybody know a purely PHP based way to alter the frequency of an MP3 file?</p>
  
  <p>I am on shared hosting with this, so installing ffmpeg or something similar is out of the question.</p>
  
  <p>If this requires actually altering the audio data, then I guess it is not possible nor feasible to do with PHP, but I was thinking maybe this is just a header setting. I don't know. </p>
  
  <p>Background:</p>
  
  <p>A client's website is utilizing a Flash based MP3 player to play some audio.
  The client is producing the audio herself. </p>
  
  <p>The trouble is that the tools that she is producing it with, and is familiar with, automatically produces MP3 files with a frequency of 48000hz, while some versions of Flash have trouble playing anything with a frequency differing from 44100khz. (See my related question <a href="https://stackoverflow.com/questions/2095185/embedded-flash-mp3-player-slow-on-some-files-normal-on-others"><strong>here</strong></a>).</p>
  
  <p>I would like to avoid adding yet another program to the already complex audio production process, and solve this on the web server end if possible. </p>