Add pulses or stop pulses as function of changing clock, speed to compensate