public void setBankNum (int bankNum) { try { PatchEdit.MidiOut.writeShortMessage (port,(byte)(0xB0+(channel-1)),(byte)0x00,(byte)(bankNum/128)); PatchEdit.MidiOut.writeShortMessage (port,(byte)(0xB0+(channel-1)),(byte)0x20,(byte)(bankNum%128)); } catch (Exception e) {};
public void setBankNum(int bankNum) { try { PatchEdit.MidiOut.writeShortMessage(port, (byte) (0xB0 + (channel - 1)), (byte) 0x00, (byte) (bankNum / 128)); PatchEdit.MidiOut.writeShortMessage(port, (byte) (0xB0 + (channel - 1)), (byte) 0x20, (byte) (bankNum % 128)); } catch (Exception e) {
    public void setBankNum (int bankNum)    {        try        {            PatchEdit.MidiOut.writeShortMessage (port,(byte)(0xB0+(channel-1)),(byte)0x00,(byte)(bankNum/128));            PatchEdit.MidiOut.writeShortMessage (port,(byte)(0xB0+(channel-1)),(byte)0x20,(byte)(bankNum%128));        } catch (Exception e)        {};            }