Flexible wavelength-, pulse-controlled mode-locked all-fiber laser based on a fiber Lyot filter.