From: Hiroo H. <hir...@co...> - 2005-03-13 19:41:21
|
Brian> My idea is this. *Most* synths have a single F0 .. F7 pair in their Brian> sysex, and many have a constant known size. Maybe drivers could have a Brian> function like isFullPatch(Arry of Bytes), that the receive would call Brian> every so often. Brian> The base Driver class would be set to just check for an F7. This way 95% Brian> of the drivers would remain the same. The remaining drivers would have Brian> to override this method. > "*Most* synths have a single F0 .. F7 pair in their sysex." Is this true? I thought only old synth (or for compatibility with old synth) uses a single sysex MIDI message even for a large data transfer. I think more synths know the size of data which they returns when sysex is requested. So it is better to use data size number first. If data size is unknown, we can check for an F7. If number of sysex message is known, we can check for the number of F7. -- Hiroo Hayashi |