simple implementation of an oscillator controlled by a sequencer