An apparatus includes an optical ring resonator, first and second optical couplers, and control circuitry. The first optical coupler is configured to modulate an input optical signal traversing an optical waveguide, by tuning cross-coupling of energy between the optical waveguide and the ring resonator with a first variable coupling coefficient. The second optical coupler is configured to tune cross-coupling of energy between the ring resonator and an auxiliary optical signal, different from the input optical signal, with a second variable coupling coefficient. The control circuitry is configured to modulate the first coupling coefficient with a first control signal so as to modulate the input optical signal, and to modulate the second coupling coefficient with a second control signal, so as to retain a constant electrical-field complex envelope in the ring resonator.
展开▼