mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 16:48:00 +00:00
new LowpassCombFilter interface
This commit is contained in:
parent
ef5ef5fed9
commit
295901e383
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ define(["Tone/core/Tone", "Tone/instrument/Instrument", "Tone/source/Noise", "To
|
|||
note = this.toFrequency(note);
|
||||
time = this.toSeconds(time);
|
||||
var delayAmount = 1 / note;
|
||||
this._lfcf.setDelayTimeAtTime(delayAmount, time);
|
||||
this._lfcf.delayTime.setValueAtTime(delayAmount, time);
|
||||
this._noise.start(time);
|
||||
this._noise.stop(time + delayAmount * this.attackNoise);
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue