mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
documenting cancelAndHoldAtTime
This commit is contained in:
parent
b4feef6776
commit
f1cd128e95
1 changed files with 7 additions and 3 deletions
|
@ -165,12 +165,16 @@ define(["Tone/core/Tone", "Tone/core/Transport", "Tone/signal/Signal", "Tone/typ
|
|||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
* This is similar to [cancelScheduledValues](#cancelScheduledValues) except
|
||||
* it holds the automated value at time until the next automated event.
|
||||
* @param {Time} time
|
||||
* @returns {Tone.TransportTimelineSignal} this
|
||||
*/
|
||||
Tone.TransportTimelineSignal.prototype.cancelAndHoldAtTime = function (time) {
|
||||
return Tone.Signal.prototype.cancelAndHoldAtTime.call(this, this.toSeconds(time));
|
||||
return Tone.Signal.prototype.cancelAndHoldAtTime.call(this, Tone.TransportTime(time));
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Dispose and disconnect
|
||||
* @return {Tone.TransportTimelineSignal} this
|
||||
|
|
Loading…
Reference in a new issue