create an interface for oscillators