From: Jeff W. <jww...@ya...> - 2005-03-17 23:57:48
|
--- Steven Schmidt <ste...@co...> wrote: > When I try to store a patch back to the synth - the > MidiMonitor shows: > XMIT: Control Change > b0 00 00 > XMIT: Control Change > b0 20 04 > XMIT: Program Change > c0 15 > XMIT: Program Change > c0 15 > But never sends a patch. The debugger showed a > value of 112 (0x70) in > the first Byte, so I explicitly set it to F0 and > voila - midi monitor > does show the patch getting sent. It still didn't > save it on the synth, > but I'll worry about that later. > > My question - Should I expect to set the start of > sysex like that? > The answer to your first question is, no. This sounds like the same thing I got caught on. You need to make sure you have the proper overrides of the calculateChecksum methods in your driver. If your patch does not use a checksum, you still need to override calculateChecksum with a null method. If you don't do this, the default calculateChecksum will calculate a value and place it at offset zero of your sysex record. See programming.html for details. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ |