convert the sound data to unsigned 8-bit integer