Warning: undefined parameter 0
- 
 The below structure gives: Warning: undefined parameter 0.Is this a bug or am I missing something here? // Faders const arrayed_OutputFader = []; for (i = 0; i < 2; i++) { arrayed_OutputFader.push(Content.getComponent("OutputFader" + i)); arrayed_OutputFader[i].setControlCallback(onarrayed_OutputFaderControl); }NOTE: OutputFader0&OutputFader1are the sliders.
- 
 @orange did you defined the CB elsewhere ? : const arrayed_OutputFader = []; for (i = 0; i < 2; i++) { arrayed_OutputFader.push(Content.getComponent("OutputFader" + i)); arrayed_OutputFader[i].setControlCallback(onarrayed_OutputFaderControl); } inline function onarrayed_OutputFaderControl(component, value) { Console.print("Something is missing... :)"); }
- 
 @orange said in Warning: undefined parameter 0: The below structure gives: Warning: undefined parameter 0.Is this a bug or am I missing something here? // Faders const arrayed_OutputFader = []; for (i = 0; i < 2; i++) { arrayed_OutputFader.push(Content.getComponent("OutputFader" + i)); arrayed_OutputFader[i].setControlCallback(onarrayed_OutputFaderControl); }NOTE: OutputFader0&OutputFader1are the sliders.I think this is anew "feature" of HISE - it warns you when you haven't declared/defined the call back itself...as Matt suggests... 
- 
 @orange Is there a line number shown with the error message? 
- 
 @orange said in Warning: undefined parameter 0: undefined parameter 0 That's telling you that the first parameter that you are passing to a function -- the thing in ()-- is undefined.
- 
 
- 
 @d-healey said in Warning: undefined parameter 0: @orange said in Warning: undefined parameter 0: undefined parameter 0 That's telling you that the first parameter that you are passing to a function -- the thing in ()-- is undefined.Makes sense :) But it wouldn't warn previously 
 @dannytaurus said in Warning: undefined parameter 0: @orange Is there a line number shown with the error message? Yes the code that I shared above is the dedicated line. 




