From: Hiroo H. <hir...@co...> - 2004-08-05 01:50:03
|
Hi Jeff, Jeff> But before I do I would like to get a better Jeff> understanding of the rest of your message. You said, Jeff> "By defining your patch class which implements IPatch Jeff> interface, you will be able to do what you wrote." I Jeff> took a look at the IPatch interface and I don't really Jeff> understand how that helps me. Can you explain a little Jeff> more about what you meant? Let me try... IPatch interface was just introduced. Some of core classes still access Patch.sysex byte array directly. When the transition will be done, the method call of a patch class implementing IPatch will be the only way to access to patch data. The class can hold its data in any form (for example unnibbled data as you did). When a method of IPatch interface (for example byte[] getByteData()), your patch class can convert the data from its internal form to an external form (ex. byte[] or MidiMessage[]) requested by a core class. -- Hiroo Hayashi |