try {  PatchEdit.MidiOut.writeShortMessage(getPort(),(byte)(0xC0+(getChannel()-1)),(byte)xvrt[patchNum]);
try {  send(0xC0 + (getChannel()-1), xvrt[patchNum]);
 public void setPatchNum(int patchNum)  {    try {                        PatchEdit.MidiOut.writeShortMessage(getPort(),(byte)(0xC0+(getChannel()-1)),(byte)xvrt[patchNum]);	Thread.sleep(150);    } catch (Exception e) {};      }			      