This paper presents a method for producing a pseudo-random seismic sweeping signal based on the spectrum shaping. It is composed of the M sequences generator, FIR band-pass filter, cut-of and D/A converter. The M sequences and the FIR band-pass filter are designed and simulated by MATLAB, and the simulated result of M sequences and pseudo random seismic sweeping signal are found. The results show that the pseudo-random seismic sweeping signal is of good autocorrelation, and its bandwidth meets the requirements of vibroseis.