Converting the sample rate on-the-fly when reading a WAV file into a samples array with Java Converting the sample rate on-the-fly when reading a WAV file into a samples array with Java windows windows