Resonator provided with a resonating device and with a selection circuit for selecting a resonance mode. The selection circuit is formed by a first-order oscillator which is provided with a synchronization input and whose output is connected to the excitation input of the resonating device, the output of the resonating device being connected to the synchronization input of the first-order oscillator in order to synchronize said oscillator and the output signal of the resonator being derived from the resonating device or oscillatorElectrical Engineering, Mathematics and Computer Scienc