code: function() {
              var bestOffs, bestCorr, corr, i;
  
              // Slopes the amplitudes of the 'midBuffer' samples.
              this.precalcCorrReferenceStereo();
  
              bestCorr = Number.MIN_VALUE;
              bestOffs = 0;
  
              // Scans for the best correlation value by testing each possible position
              // over the permitted range.
              for (i = 0; i < this.seekLength; i++) {
                  // Calculates correlation value for the mixing position corresponding
                  // to 'i'
                  corr = this.calcCrossCorrStereo(2 * i, this.pRefMidBuffer);
  
                  // Checks for the highest correlation value.
                  if (corr > bestCorr) {
                      bestCorr = corr;
                      bestOffs = i;
                  }
              }
              return bestOffs;
          }
docs: Seeks for the optimal overlap-mixing position. The 'stereo' version of the
  routine
  
  The best position is determined as the position where the two overlapped
  sample sequences are 'most alike', in terms of the highest cross-correlation
  value over the overlapping period