param automation from 'now' instead of currentTime

addresses #385
This commit is contained in:
tambien 2018-09-10 14:03:28 -04:00
parent 9fea022f98
commit 982deb3f62

View file

@ -83,8 +83,8 @@ define(["../core/Tone", "../type/Type", "../core/AudioNode", "../core/Timeline"]
},
set : function(value){
this._initialValue = this._fromUnits(value);
this.cancelScheduledValues(this.context.currentTime);
this.setValueAtTime(value, this.context.currentTime);
this.cancelScheduledValues(this.now());
this.setValueAtTime(value, this.now());
}
});