a digital demodulator or receiver having an interface for receiving an input signal modulated with digital data , a multiplier for multiplying the input signal with a local oscillator signal to generate a product signal , and an integrator for periodically integrating the product signal to generate a sequence of integrated signals , each having an amplitude indicative of a respective portion of the digital data , additionally includes a circuit for directly generating a plurality of logic signals and a summer for summing the logic signals to directly synthesize the local oscillator signal . the local oscillator signal thereby produced has a fundamental component and third and fourth harmonic components and is shaped to ensure that each of the third and fourth harmonic components has an amplitude substantially less than that of the fundamental component . the disclosed circuit includes a reset mechanism which quickly adjusts phase of the local oscillator signal by modifying the phase of the directly generated logic signals .