adding name prop

This commit is contained in:
Yotam Mann 2019-07-18 14:06:32 -04:00
parent 72d4b80f97
commit c39dacf22d

View file

@ -30,6 +30,8 @@ import { Envelope, EnvelopeOptions } from "./Envelope";
*/ */
export class AmplitudeEnvelope extends Envelope { export class AmplitudeEnvelope extends Envelope {
name = "AmplitudeEnvelope";
private _gainNode: Gain = new Gain({ private _gainNode: Gain = new Gain({
context: this.context, context: this.context,
gain: 0, gain: 0,