by sampling the oscillations and further processing the samples