mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 03:53:07 +00:00
fixing envelope example
This commit is contained in:
parent
ada9646ed7
commit
ad9dd643a6
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ export class Envelope extends ToneAudioNode<EnvelopeOptions> {
|
|||
* @example
|
||||
* const env = new Tone.Envelope(0.5, 1, 0.4, 2);
|
||||
* env.triggerAttackRelease(2);
|
||||
* setInterval(() => console.log(env.getValueAtTime), 100);
|
||||
* setInterval(() => console.log(env.getValueAtTime(Tone.now())), 100);
|
||||
*/
|
||||
getValueAtTime(time: Time): NormalRange {
|
||||
return this._sig.getValueAtTime(time);
|
||||
|
|
Loading…
Reference in a new issue