Merge pull request #884 from matt-savvy/patch-1

Fix example for Part
This commit is contained in:
Yotam Mann 2021-04-26 09:17:35 -07:00 committed by GitHub
commit 1dcc045fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ interface PartOptions<T> extends Omit<ToneEventOptions<CallbackType<T>>, "value"
* // the notes given as the second element in the array
* // will be passed in as the second argument
* 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();
* @example
* const synth = new Tone.Synth().toDestination();