static float[] decodeWAVToMonoSamples_floatVolumeProfile(File wavFile, int windowSize) { temp CloseableItIt it = decodeWAVToMonoSamples_iterator(wavFile, windowSize); new L volumes; fOr (short[] chunk : it) volumes.add(shortArray_maxAbsValue(chunk)/(float) Short.MAX_VALUE); ret toFloatArray(volumes); }