code: public double[] getInterleavedSamples() {
          double[] samples = new double[(int) getSampleCount()];
          try {
              getInterleavedSamples(0, getSampleCount(), samples);
          } catch (IllegalArgumentException | IOException e) {
              e.printStackTrace();
          }
  
          return samples;
      }
docs: <p>getInterleavedSamples.</p>
  
  @return an array of double.