From: Hiroo H. <hir...@co...> - 2004-08-01 17:57:30
|
> But currently the patch<=>device/driver assignment isn't very > usefull yet. I think we should store this assignment in the > core.IPatch class. But not as deviceNum/driverNum. > I preferr a human readable format like "YamahaDX7/singleVoice". This > would also allow JSynthLib to load the required device if it isn't > already loaded. > If we store this information while requesting a patch, creating a > new patch or load/save a "patchlib" file the "p.chooseDriver()" call > isn't needed furthermore. Only an import of sysex files would need > the p.chooseDriver() call. Patch object does not have to have the human readable format string. But I agree with you the string should be saved in Patch data in storage. I guess this also help the XML driver. But we have the following problem you wrote. > In the past I tried to store this information in the "patchlib" > file, but this wasn't compatible with the current file format. So I > let it. We need a extendable file format. My take is a combination of binary Sysex data and XML as I wrote before. -- Hiroo Hayashi |