A time-frequency relationship between the Langevin equation and the harmonic oscillator