Returns a mapping function for pitch-profile-hr or rhythm-profile-hr. offset is added to the original value.