title: MediaPlayer/MediaRecorder Sound Quality Awful?
body: <p>I'm trying to develop a recording device, but when I play it back it sounds awful. It's all gargled and sounds like I'm really far away.</p>
  
  <p>Here is the code. I've looked at trying to change the Encoder, bit rate, and sampling rate, but nothing seems to fix the gargle. I've looked around for other posts on this problem, but haven't found anything. Anyone help?</p>
  
  <p>Also, I realize this is two different objects, but I'm not sure how to  check if it's the recorder or the player that's the issue. Ideas on that would be nice too!</p>
  
  <pre><code>MediaRecorder mRecorder = new MediaRecorder();
  mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
  mRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
  mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.HE_AAC);
  mRecorder.setAudioEncodingBitRate(1280);
  mRecorder.setAudioSamplingRate(4400);
  mRecorder.setOutputFile(_audioFilename);
  
  
  MediaPlayer media = new MediaPlayer();
  try {
          media.setDataSource(task.getAudio());
      } catch (IOException e) {
          e.printStackTrace();
      }
  try {
          media.prepare();
      } catch (IOException e) {
          e.printStackTrace();
      }
      media.start();
  </code></pre>
  
  <p>EDIT:
  Download of File <a href="https://sites.google.com/site/chasebusackersfilecabinet/home/ProxiVoiceOver3.mp4?attredirects=0&amp;d=1" rel="nofollow noreferrer">https://sites.google.com/site/chasebusackersfilecabinet/home/ProxiVoiceOver3.mp4?attredirects=0&amp;d=1</a></p>
  
  <p>Or Here is it on Youtube (might not work):
  <a href="https://www.youtube.com/watch?v=va0wlupsuPA&amp;feature=youtu.be" rel="nofollow noreferrer">https://www.youtube.com/watch?v=va0wlupsuPA&amp;feature=youtu.be</a></p>
  
  <p>Could it just be the emulator?</p>