public LaunchPadSimulator(int w = 540, int h = 540) { ID = Name = "LaunchPadSimulator"; Direction = MidiDirection.IO; CurrentImage = new Bitmap(w, h); _padSizeX = w / 9; _padSizeY = h / 9; // testing XYMapper = new LaunchPadXYMapper(); ColorMapper = new NovationColorMapper(); }
/// <summary> /// Creates the objects that map concepts like colors and XY /// coordinates into MIDI values. /// </summary> protected override void CreateMappers() { ColorMapper = new NovationColorMapper(); XYMapper = new LaunchPadXYMapper(); }