From: Bill Z. <wrz...@po...> - 2005-04-02 05:23:23
|
Joe Emenaker wrote: > Since this format would support multiple patches in a single file... > would we want to *use* that capability, or would we keep all of the > patches separate? We'll use the feature. JSL already supports it, and Brian uses it. > Since the data encoding is something which pertains the using XML > files, I think that the code for is should be in the XML routines and > not in the Driver system. > I'm a little uneasy about the idea of having any XML-awareness in the > synthdrivers. The idea is this: What if someone wants to hand-edit patches ouside of JSL? It's excessively difficult to edit the hex, but would be possible if the patch data was itself a bunch of XML. I don't know of any way to automate this (unless we can leech off the XML editor stuff) but if we leave it up to the driver, then anyone who needed it could update the driver to create and parse it. It's also difficult and annoying to write such code, so it'd be up to the driver writer to take the time. By the default, we just dump the sysex to MIME64. <data> <dco1 wave1="saw" wave2="pulse"> <amp-envelope> <step rate="99" level="99" sustain="true"/> <step rate="50" level="0"/> </amp-envelope> </dco1> </data> -Bill |