Closed Yahav closed 11 years ago
beat.js Line 19: SEARCH FOR: "Beat.prototype = {" ADD AFTER: setparam : function (frequency,threshold) { this.frequency = frequency || options.frequency || [ 0, 10]; // 0, 10 this.threshold = threshold || options.threshold || 0.3; // 0.3 return this; },
Even better would be: settings : function (options) { // handle frequency, threshold },
Word, I'll add this as well as the renaming of beat to kick. Thanks!
beat
kick
beat.js Line 19:
SEARCH FOR: "Beat.prototype = {" ADD AFTER: setparam : function (frequency,threshold) { this.frequency = frequency || options.frequency || [ 0, 10]; // 0, 10 this.threshold = threshold || options.threshold || 0.3; // 0.3 return this; },