This paper analyzes the transient response of a simple harmonic oscillator to a stationary random input having an arbitrary power spectrum. The application of the results of this analysis to the response of structures to strong-motion earthquakes is discussed.