From: Steven S. <ste...@co...> - 2005-04-02 18:58:40
|
Bill Zwicky wrote: > Steven Schmidt wrote: > >> displays the correct value of -5 for the MSB/LSB combo of 7f 7b >> (I haven't looked at why I had to subtact 128 (base val) to get it >> right, but that's a suspiciously even number) >> So, have we a bug? I'll try a slider and see if I have the same >> problem and report back. >> > Are the bytes still correct when the spinner reads -129? > > In a sysex message, the high bit must always be zero, and (I'm > guessing) your synth simply sticks the remaining 14 bits together to > form a number. 7f 7b is > 0111 1111 0111 1011 > and if we drop the high bits and regroup the nybbles, we get > 11 1111 1111 1011 > If you add 5 to that, you get zero. So 7f 7b is exactly -5 in 14 > bits. (If you're running Microsoft Windows, you can try this with the > included calculator; it can handle both hex and binary.) Do you know of an existing editor that works in this manner? |