Linear oscillator