Skip to content

Commit

Permalink
fixed reverb typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jvntf authored and therewasaguy committed Jul 13, 2017
1 parent 87e0e0b commit 4de4e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reverb.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ define(function (require) {
var impulseR = impulse.getChannelData(1);
var n, i;
for (i = 0; i < length; i++) {
n = this.reverse ? length - i : i;
n = this._reverse ? length - i : i;
impulseL[i] = (Math.random() * 2 - 1) * Math.pow(1 - n / length, decay);
impulseR[i] = (Math.random() * 2 - 1) * Math.pow(1 - n / length, decay);
}
Expand Down

0 comments on commit 4de4e6e

Please sign in to comment.