Skip to content

Commit 349495d

Browse files
authored
Merge pull request #323 from clarkenheim/master
removed line from p5.Filter.prototype.freq which sets the frequency b…
2 parents 46e0255 + bde8a5e commit 349495d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/filter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ define(function (require) {
162162
freq = 1;
163163
}
164164
if (typeof freq === 'number') {
165-
this.biquad.frequency.value = freq;
166165
this.biquad.frequency.cancelScheduledValues(this.ac.currentTime + 0.01 + t);
167166
this.biquad.frequency.exponentialRampToValueAtTime(freq, this.ac.currentTime + 0.02 + t);
168167
} else if (freq) {

0 commit comments

Comments
 (0)