Joe,
Once the patch has been created by createNewPatch() and is sitting in your
library, does JSynthLib mark it as belonging to the AlesisSR16 Device?
If not, it
is being assigned to the "Generic Device" which provides no editing support.
SynthDrivers use the SysexID to determine whether or not they support
a given patch.
After being created, the patch gets inserted into the library, at
which point JSynthLib
will ask each driver in turn whether they want to be associated with
it. If no-one volunteers, the Generic Device driver gets it.
This is necessary, for example if a patch is imported from disk, there
is no knowledge
of who created him, plus many synths are compatable so as long as you
have one of the synths loaded that can support the patch, it will be
correctly assigned.
My guess is that the SysexID for HexDumpDriver is not matching the patch you are
creating. Try putting a proper header on the patch so that your driver
gets associated
with the patch. This should unshade the "Edit" option.
Brian
|