Actually I was looking at the checksum. So never mindYou flipped 126 and 127 but regardless, there you go!
Actually I was looking at the checksum. So never mindYou flipped 126 and 127 but regardless, there you go!
Pretty sure they are. Try it on a calculator with hex entry and XORI have some difficulties to follow your explanation... are your numbers rights ?
But since the value (and actually all the values other than the initial F0 byte) is just 7 bits you lop off high bit and end up with 79 as the checksum.
Google "xor calculator". Click on the first link.Is there an online ressource that easily calculate that XOR ... if I want to know for the hex sequence for any bpm ?
I’ve tried many online ressources but the XOR I get is always wrong (
He didn't always copy the results from one line correctly onto the next line, but his XOR values are correct.I have some difficulties to follow your explanation... are your numbers rights ?
He didn't always copy the results from one line correctly onto the next line, but his XOR values are correct.
whoops some typos there. Hopefully fixed nowHe didn't always copy the results from one line correctly onto the next line, but his XOR values are correct.
Hex is shorthand for binary. F9 is 1111 1001 in binary (each group of 4 binary digits becomes one hex digit). Since the highest bit must be 0 we change 1111 to 0111 which is 7. That’s how F9 becomes 79.Yes you are right !
I just don’t get the last part of explanation... when 79 finally become the XOR... not so good at maths... sorry
F0 00 01 74 10 14 02 01 02 F7 sends 130
It is working fine for some bpm... but if I take 90 (90 is 5A in hex) my string would be F0 00 01 74 10 14 5A 00
I calculate 81 XOR 5A = DB = 1101 1011
I change 1101 for 0101 AND 1011 for 0011
It gives me 5 and 3
So my XOR checksum would be 53...
Total string would be : F0 00 01 74 10 14 5A 00 53 F7
Because 00 5A is 90?So my '90' BPM is this string. Works on my III, no idea why.
F0 00 01 74 10 14 5A 00 5B F7
Ok, I whipped this up real quick for you guys. Probably broken in many ways but maybe it will help:
http://www.kamilkisiel.net/axefx_tempo.html