Correcting hex values for some notes and allowing them to be larger than 16 bits.