From: Hiroo H. <hir...@co...> - 2005-04-10 04:55:03
|
Hi, What you need to override is Driver.sendPatch(Patch). To make this clear Driver.send(byte[]) is a final method. Ton> I am working on a synth driver for the ADA MP2 midi guitar preamp. Ton> It's is a rather old device with variable sized patches. Values greater Ton> than 0x40 are preceded by a byte containing 0x41. Values greater than Ton> 0x80, are two bytes long preceded by 0x42. Ton> In order to get it working, I have to convert each patch to a fixed Ton> size, in which each value is represented by exact one byte. Ton> The only backdraw is that when I want to export the patch, it is in a Ton> format only my synth driver can handle. When I want to send the exported Ton> sysex with other software (like midiOx etc.) it is in the wrong format, Ton> so my ADA MP2 can't handle it. Ton> When the export method is changed from public final to public, I can Ton> override it and write a conversion method to change the patch to the Ton> right format. -- Hiroo Hayashi |