examples/audio_visual/main.js
function (start, end) {
    var total = 0;

    start = start || 0;
    end = end || this.binCount;

    for (var i = start; i < end; i++) {
      total += this.frequencyByteData[i];
    }

    return total / (end - start);
  }
function (start, end) {
    var total = 0;

    start = start || 0;
    end = end || this.binCount;

    for (var i = start; i < end; i++) {
      total += this.frequencyByteData[i];
    }

    return total / (end - start);
  }
function ( start , end ) { var total = 0 ; start = start || 0 ; end = end || this . binCount ; for ( var i = start ; i < end ; i ++ ) { total += this . frequencyByteData [ i ] ; } return total / ( end - start ) ; }
not save if out of bounds
not save if out of bounds