From 59e484db838460f5b18754fc1419c2256beedca8 Mon Sep 17 00:00:00 2001 From: Ron Yeh Date: Tue, 30 Mar 2021 16:46:02 -0700 Subject: [PATCH] Fix typos and improve comments. "scaler" should be "scalar" but a shorter comment is clearer. "immediatly" was missing a letter. --- Tone/instrument/Monophonic.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tone/instrument/Monophonic.ts b/Tone/instrument/Monophonic.ts index fddb4057..9ac57409 100644 --- a/Tone/instrument/Monophonic.ts +++ b/Tone/instrument/Monophonic.ts @@ -62,7 +62,7 @@ export abstract class Monophonic extends Inst * Trigger the attack of the note optionally with a given velocity. * @param note The note to trigger. * @param time When the note should start. - * @param velocity The velocity scaler determines how "loud" the note will be triggered. + * @param velocity The velocity determines how "loud" the note will be. * @example * const synth = new Tone.Synth().toDestination(); * // trigger the note a half second from now at half velocity @@ -77,8 +77,8 @@ export abstract class Monophonic extends Inst } /** - * Trigger the release portion of the envelope - * @param time If no time is given, the release happens immediatly + * Trigger the release portion of the envelope. + * @param time If no time is given, the release happens immediately. * @example * const synth = new Tone.Synth().toDestination(); * synth.triggerAttack("C4");