Will resample the current ramp to a specified number of keys.