createInsOuts was using input count for output

This commit is contained in:
Yotam Mann 2017-05-01 14:17:16 -04:00
parent 7159700f11
commit 1b8fdc404d

View file

@ -89,7 +89,7 @@ define(["Tone/core/Tone", "Tone/core/Param", "Tone/type/Type"], function (Tone)
if (outputs === 1){
this.output = new Tone.Gain();
} else if (outputs > 1){
this.output = new Array(inputs);
this.output = new Array(outputs);
}
};