code: public void getStereoSamples(double[] leftSamples, double[] rightSamples)
              throws IOException {
          long sampleCount = getSampleCount();
          double[] interleavedSamples = new double[(int) sampleCount * 2];
          getInterleavedSamples(0, sampleCount, interleavedSamples);
          for (int i = 0; i < leftSamples.length; i++) {
              leftSamples[i] = interleavedSamples[2 * i];
              rightSamples[i] = interleavedSamples[2 * i + 1];
          }
      }
docs: Convenience method. Extract left and right channels for common stereo
  files. leftSamples and rightSamples must be of size getSampleCount()
  
  @param leftSamples leftSamples
  @param rightSamples rightSamples
  @throws java.io.IOException java.io.IOException