I want to pull big-endian hex data out of a small wav file loaded into a string. The following works (needs to be expanded for more bytes), but just seems clumsy and indirect. Can anyone "pointer" me in a better direction?
Thanks,
Conrad
Code:
TEMP4H = HEX$(ASC(MID$(TempStr$, 26, 1))) 'high byte sample rate TEMP4L = HEX$(ASC(MID$(TempStr$, 25, 1))) 'low byte sample rate TEMP5 = VAL("&H" & TEMP4H & TEMP4L)
Conrad
Comment