From: Steven S. <ste...@co...> - 2005-03-19 01:46:46
|
Joe Emenaker wrote: > Steven Schmidt wrote: > >> Given the following specification, what value would you find in the >> two bytes 230 and 231 for HI SAMPLE NO: 306 (decimal)? >> 230 - bit 7 HI START OFFSET 0:OFF, 1:ON >> 230 - bit 6 HI REVERSE 0:OFF, 1:ON >> 230 - bit 0-6 HI SAMPLE NO.(MSB) 00~~03E7 : 00~~999 >> 231 HI SAMPLE NO.(LSB) > > > 306 decimal is binary 100110010 > > I don't know what your HI START OFFSET and HI REVERSE bits are > supposed to be. sadly, neither do I. > Also, the spec makes reference to a bit #7 *and* a bit #0, which makes > me think that your patch data uses 8-bit bytes. If that true, then > your bits arrange themselves as: I thought it odd that the spec referred to both bit 6 *and* bits 0-6 for the same byte, but that is what it said. This thing must have been updated since the spec that Korg put on its web site, because I would expect to find a 0x32 sitting next to a 0x?1 or 0x?2, but this is not the case, so - back to the drawing board, or debugger. Thanks for doing the math Joe - I'm still confused but at least I have an idea where I'm going. -Steve |