From c39dacf22d45b981f87428beb344bbde47560553 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Thu, 18 Jul 2019 14:06:32 -0400 Subject: [PATCH] adding name prop --- Tone/component/envelope/AmplitudeEnvelope.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tone/component/envelope/AmplitudeEnvelope.ts b/Tone/component/envelope/AmplitudeEnvelope.ts index 30abb054..8fea2d86 100644 --- a/Tone/component/envelope/AmplitudeEnvelope.ts +++ b/Tone/component/envelope/AmplitudeEnvelope.ts @@ -30,6 +30,8 @@ import { Envelope, EnvelopeOptions } from "./Envelope"; */ export class AmplitudeEnvelope extends Envelope { + name = "AmplitudeEnvelope"; + private _gainNode: Gain = new Gain({ context: this.context, gain: 0,