oscillator basics