Ratchets driven by harmonic and white noise