Modulating pulses with a continuously-variable modulating signal