Merge pull request #883 from DavidIsrawi/intrumentTypos

Fix: Typos in triggerAttack docs
This commit is contained in:
Yotam Mann 2021-04-26 09:17:49 -07:00 committed by GitHub
commit f724be916e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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