Frequency modulating apparatus employing a phase-locked loop. An analog signal is sampled periodically and each sample is converted to a digital signal by an analog-to-digital converter. A constant is added to the digital signal and the sum is employed as the divisor of a programmable divider connected in the phase-locked loop between the output of the voltage controlled oscillator and an input of a phase detector. The output of the voltage controlled oscillator is also divided by an output divider and then filtered to provide a sinusoidal output signal. The resulting output signal is at a center frequency which is frequency modulated by the analog signal.