docs: public short[] getSampleAmplitudes() {
          int bytePerSample = waveHeader.getBitsPerSample() / 8;
          int numSamples = data.length / bytePerSample;
          short[] amplitudes = new short[numSamples];
  
          int pointer = 0;
          for (int i = 0; i < numSamples; i++) {
              short amplitude = 0;
              for (int byteNumber = 0; byteNumber < bytePerSample; byteNumber++) {
                  // little endian
                  amplitude |= (short) ((data[pointer++] & 0xFF) << (byteNumber * 8));
              }
              amplitudes[i] = amplitude;
          }
  
          return amplitudes;
      }