public int GetKnobRaw(Form1.Knobs _i) { return((int)Math.Round((Decimal)this.m_KnobsValues[(int)_i], 0)); }
public void SetKnobRaw(Form1.Knobs _i, int _val) { this.m_KnobsValues[(int)_i] = (float)_val; }
public Ref <float> GetRef(Form1.Knobs _index) { return(new Ref <float>((Func <float>)(() => this.m_KnobsValues[(int)_index]), (Action <float>)(v => this.m_KnobsValues[(int)_index] = v))); }