A waveform converter for altering the waveform and optical spectrum of an optical
signal may comprise a nonlinear element having a nonlinear effect on optical pulses,
a dispersion element having a dispersion effect on optical pulses, and a wavelength
selecting element configured to select spectral components in a desired wavelength region.