logging cancel and hold for debugging

This commit is contained in:
Yotam Mann 2018-06-20 14:56:49 -04:00
parent 0e89ddf854
commit d31c0e2ec1

View file

@ -470,6 +470,7 @@ define(["Tone/core/Tone", "Tone/type/Type", "Tone/core/AudioNode", "Tone/core/Ti
*/
Tone.Param.prototype.cancelAndHoldAtTime = function(time){
var valueAtTime = this.getValueAtTime(time);
this.log("cancelAndHoldAtTime", time, "value="+valueAtTime);
//remove the schedule events
this._param.cancelScheduledValues(time);