[fix] export byteToLevel and byteToRampRate