From 57af70c921d1ec159c7aef356f12d1663809bc1e Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Wed, 24 Jul 2019 23:16:35 -0400 Subject: [PATCH] make constantSource accessible from within the class --- Tone/signal/Signal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tone/signal/Signal.ts b/Tone/signal/Signal.ts index f3d452f1..a7493500 100644 --- a/Tone/signal/Signal.ts +++ b/Tone/signal/Signal.ts @@ -35,7 +35,7 @@ implements AbstractParam { /** * The constant source node which generates the signal */ - private _constantSource: ConstantSourceNode = this.context.createConstantSource(); + protected _constantSource: ConstantSourceNode = this.context.createConstantSource(); readonly output: OutputNode = this._constantSource; protected _param: Param; readonly input: InputNode;