make constantSource accessible from within the class

This commit is contained in:
Yotam Mann 2019-07-24 23:16:35 -04:00
parent f383ca7387
commit 57af70c921

View file

@ -35,7 +35,7 @@ implements AbstractParam<Type> {
/** /**
* The constant source node which generates the signal * 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; readonly output: OutputNode = this._constantSource;
protected _param: Param<Type>; protected _param: Param<Type>;
readonly input: InputNode; readonly input: InputNode;