From: Joe E. <jo...@em...> - 2005-05-06 08:48:48
|
What are people's thoughts about replacing patchNameStart and patchNameSize in core.Driver with some interface (PatchNameModel, for example)? The problem with the current system is that some synths use null-terminated strings instead of fixed-length strings. If we had several different implementations of PatchNameModel like: FixedLengthPatchNameModel(int patchNameStart, patchNameSize); TerminatedPatchNameModel(int patchNameStart, byte terminator); Then it could make it easier to accomodate other name-storage methods. I know that developers can override getPatchName and setPatchName (it's what I'm doing now). I'm just tossing around some ideas which I think would clean things up a bit. If I were willing to do all of the work of converting existing synthdrivers to something like this, what are people's thoughts about it? This isn't that different from the idea of having some standard checksum models (to replace checksumOffset, checksumStart, and checksumEnd in core.Driver as well). - Joe |