internal CurveSetProcessElement(int idx, ushort InputChannelCount, ushort OutputChannelCount) { this.InputChannelCount = InputChannelCount; this.OutputChannelCount = OutputChannelCount; //Curves Curves = new OneDimensionalCurve[InputChannelCount]; int end = idx; for (int i = 0; i < InputChannelCount; i++) { Curves[i] = new OneDimensionalCurve(end); end = Curves[i].end + Curves[i].end % 4; } }