void OnGUI() { if (GUI.Button(new Rect(20, 20, 100, 50), "send")) { midi.MidiOutSend(1, 0x007f3c91); } }