mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 12:03:12 +00:00
Fix example for Part
The first example for Part doesn't play. ## Changes - adds start(0) to example code
This commit is contained in:
parent
51f97dd9e8
commit
1234b7c04d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ interface PartOptions<T> extends Omit<ToneEventOptions<CallbackType<T>>, "value"
|
||||||
* // the notes given as the second element in the array
|
* // the notes given as the second element in the array
|
||||||
* // will be passed in as the second argument
|
* // will be passed in as the second argument
|
||||||
* synth.triggerAttackRelease(note, "8n", time);
|
* synth.triggerAttackRelease(note, "8n", time);
|
||||||
* }), [[0, "C2"], ["0:2", "C3"], ["0:3:2", "G2"]]);
|
* }), [[0, "C2"], ["0:2", "C3"], ["0:3:2", "G2"]]).start(0);
|
||||||
* Tone.Transport.start();
|
* Tone.Transport.start();
|
||||||
* @example
|
* @example
|
||||||
* const synth = new Tone.Synth().toDestination();
|
* const synth = new Tone.Synth().toDestination();
|
||||||
|
|
Loading…
Reference in a new issue