Independently tunable dual-wavelength fiber oscillator with synchronized pulsed emission based on a theta ring cavity and a fiber Bragg grating array.