A wavelet-based procedure to generate artificial accelerograms compatible with a prescribed seismic design spectrum is described. A procedure to perform a baseline correction of the compatible accelerograms is also described. To examine how the frequency content of the modified records evolves with time, they are analyzed in the time and frequency using the wavelet transform. The changes in the strong motion duration and input energy spectrum are also investigated. An alternative way to match the design spectrum, termed the "two-band matching procedure", is proposed with the objective of preserving the non-stationary characteristics of the original record in the modified accelerogram.