Controlling frequency or amplitude of the oscillating system