From: Joe E. <jo...@em...> - 2005-03-18 01:21:39
|
Rib Rdb wrote: >On Thu, 17 Mar 2005 14:41:57 -0800, Joe Emenaker <jo...@em...> wrote: > > >>My hope is that we can reduce the work involved in writing a driver (for >>synths that don't do crazy stuff in their sysex) so that 90% of the work >>is just defining the params (ie, location, data type, and name). >> >> >That's exactly what the XML driver does. You give some basic >information (manufacturer, model, etc), specify the type of checksum >and encoding, then give a list of parameters. > > Back when the talk of an XML driver first came up, I think I might have suggested that the Java-based param/widget infrastructure be set up like we're discussing now. If it was done well, then it would allow the XML driver to be very *thin*, in the sense that most of the work would just be in reading/verifying the XML and then just having a loop read the Parameter elements and call some kind of decoder.addParameter for each one. It's sounding like that's what you've done... with the caveat that this has not turned into the way things are done when writing Java-based drivers as well. - Joe |