Dynamics of modulated beams in spectral domain