title: Using AudioTrack in Android to play a WAV file
body: <p>I'm working with Android, trying to make my AudioTrack application play a Windows .wav file (Tada.wav).  Frankly, it shouldn't be this hard, but I'm hearing a lot of strange stuff.  The file is saved on my phone's mini SD card and reading the contents doesn't seem to be a problem, but when I play the file (with parameters I'm only PRETTY SURE are right), I get a few seconds of white noise before the sound seems to resolve itself into something that just may be right.</p>
  
  <p>I have successfully recorded and played my own voice back on the phone -- I created a .pcm file according to the directions in this example:</p>
  
  <p><a href="http://emeadev.blogspot.com/2009/09/raw-audio-manipulation-in-android.html" rel="noreferrer">http://emeadev.blogspot.com/2009/09/raw-audio-manipulation-in-android.html</a></p>
  
  <p>(without the backwards masking)...</p>
  
  <p>Anybody got some suggestions or awareness of an example on the web for playing a .wav file on an Android??</p>
  
  <p>Thanks,
  R.</p>