Returns a transformation function for pitch-profile-hr or rhythm-profile-hr. The original values are scaled between min and max.