mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 03:53:07 +00:00
start the gain
This commit is contained in:
parent
c4e4b61d93
commit
9864a79a25
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ interface GainOptions<TypeName extends UnitName> extends ToneAudioNodeOptions {
|
|||
* @offline 0.7 1
|
||||
* @example
|
||||
* const gainNode = new Tone.Gain(0).toDestination();
|
||||
* const osc = new Tone.Oscillator().connect(gainNode);
|
||||
* const osc = new Tone.Oscillator(30).connect(gainNode).start();
|
||||
* gainNode.gain.rampTo(1, 0.1);
|
||||
* gainNode.gain.rampTo(0, 0.4, 0.2);
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue