example/stretcher/soundtouch.js
function() {
            var i, cnt2, temp;

            for (i = 0; i < this.overlapLength; i++) {
                temp = i * (this.overlapLength - i);
                cnt2 = i * 2;
                this.pRefMidBuffer[cnt2] = this.pMidBuffer[cnt2] * temp;
                this.pRefMidBuffer[cnt2 + 1] = this.pMidBuffer[cnt2 + 1] * temp;
            }
        }
function() {
            var i, cnt2, temp;

            for (i = 0; i < this.overlapLength; i++) {
                temp = i * (this.overlapLength - i);
                cnt2 = i * 2;
                this.pRefMidBuffer[cnt2] = this.pMidBuffer[cnt2] * temp;
                this.pRefMidBuffer[cnt2 + 1] = this.pMidBuffer[cnt2 + 1] * temp;
            }
        }
function ( ) { var i , cnt2 , temp ; for ( i = 0 ; i < this . overlapLength ; i ++ ) { temp = i * ( this . overlapLength - i ) ; cnt2 = i * 2 ; this . pRefMidBuffer [ cnt2 ] = this . pMidBuffer [ cnt2 ] * temp ; this . pRefMidBuffer [ cnt2 + 1 ] = this . pMidBuffer [ cnt2 + 1 ] * temp ; } }
Slopes the amplitude of the 'midBuffer' samples so that cross correlation
is faster to calculate
Slopes the amplitude of the midBuffer samples so that cross correlation is faster to calculate