mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-15 08:17:07 +00:00
updated time in feedback delay
This commit is contained in:
parent
62880a816d
commit
4322ace9c6
1 changed files with 6 additions and 2 deletions
|
@ -19,8 +19,12 @@ define(["Tone/core/Tone", "Tone/effects/FeedbackEffect"], function(Tone){
|
|||
|
||||
Tone.extend(Tone.FeedbackDelay, Tone.FeedbackEffect);
|
||||
|
||||
Tone.FeedbackDelay.prototype.setDelayTime = function(delayTime){
|
||||
this.rampToValueNow(this.delay.delayTime, this.toSeconds(delayTime));
|
||||
/**
|
||||
* sets the delay time
|
||||
* @param {Tone.Time} time
|
||||
*/
|
||||
Tone.FeedbackDelay.prototype.setDelayTime = function(time){
|
||||
this.rampToValueNow(this.delay.delayTime, this.toSeconds(time));
|
||||
}
|
||||
|
||||
return Tone.FeedbackDelay;
|
||||
|
|
Loading…
Reference in a new issue