public void OnKnobChange(MidiChannel channel, int DialNumber, float newValue) { foreach (Slider Knob in AllKnobs) { if (Knob.Channel == channel && Knob.KnobNumber == DialNumber) { Knob.OnSliderChange(newValue); } } }