mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
logging cancel and hold for debugging
This commit is contained in:
parent
0e89ddf854
commit
d31c0e2ec1
1 changed files with 1 additions and 0 deletions
|
@ -470,6 +470,7 @@ define(["Tone/core/Tone", "Tone/type/Type", "Tone/core/AudioNode", "Tone/core/Ti
|
||||||
*/
|
*/
|
||||||
Tone.Param.prototype.cancelAndHoldAtTime = function(time){
|
Tone.Param.prototype.cancelAndHoldAtTime = function(time){
|
||||||
var valueAtTime = this.getValueAtTime(time);
|
var valueAtTime = this.getValueAtTime(time);
|
||||||
|
this.log("cancelAndHoldAtTime", time, "value="+valueAtTime);
|
||||||
|
|
||||||
//remove the schedule events
|
//remove the schedule events
|
||||||
this._param.cancelScheduledValues(time);
|
this._param.cancelScheduledValues(time);
|
||||||
|
|
Loading…
Reference in a new issue