Varying the frequency of the oscillations by electronic means