fixed triggerAttack doc typos

This commit is contained in:
David 2021-04-24 21:51:03 -07:00
parent 51f97dd9e8
commit 25082eb396

View file

@ -153,8 +153,8 @@ export abstract class Instrument<Options extends InstrumentOptions> extends Tone
/** /**
* Start the instrument's note. * Start the instrument's note.
* @param note the note to trigger * @param note the note to trigger
* @param time the time to trigger the ntoe * @param time the time to trigger the note
* @param velocity the velocity to trigger the note (betwee 0-1) * @param velocity the velocity to trigger the note (between 0-1)
*/ */
abstract triggerAttack(note: Frequency, time?: Time, velocity?: NormalRange): this; abstract triggerAttack(note: Frequency, time?: Time, velocity?: NormalRange): this;
private _original_triggerAttack = this.triggerAttack; private _original_triggerAttack = this.triggerAttack;