title: Audio files down-sample
body: <p>I am facing a problem while working with audio files. I am implementing an algorithm that deals with audio files, and the algorithm requires the input to be a 5 KHz mono audio file.</p>
  
  <p>Most of the audio files I have are PCM 44.1 KHz 16-bit stereo, so my problem is how to convert 44.1 KHz stereo files to 5 KHz mono files?</p>
  
  <p>I would be grateful if anyone could provide a tutorial that explain the basics of DSP behind the idea or any JAVA libraries.</p>