Demodulating pulses which have been modulated with a continuously-variable signal of amplitude-modulated pulses