MCPcopy
hub / github.com/processing/p5.js / EQFilter

Function EQFilter

lib/addons/p5.sound.js:7019–7036  ·  view source on GitHub ↗
(freq, res)

Source from the content-addressed store, hash-verified

7017 eqFilter_inherits(EQFilter, _Filter);
7018
7019 function EQFilter(freq, res) {
7020 var _this;
7021
7022 eqFilter_classCallCheck(this, EQFilter);
7023
7024 _this = eqFilter_possibleConstructorReturn(this, eqFilter_getPrototypeOf(EQFilter).call(this, 'peaking'));
7025
7026 _this.disconnect();
7027
7028 _this.set(freq, res);
7029
7030 _this.biquad.gain.value = 0;
7031 delete _this.input;
7032 delete _this.output;
7033 delete _this._drywet;
7034 delete _this.wet;
7035 return _this;
7036 }
7037
7038 eqFilter_createClass(EQFilter, [{
7039 key: "amp",

Callers

nothing calls this directly

Calls 5

eqFilter_classCallCheckFunction · 0.85
eqFilter_getPrototypeOfFunction · 0.85
disconnectMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected