Posts Tagged ‘signal envelope estimator’

16. A simple beats-per-minute ie. bpm estimator

August 20, 2019

Below: signal amplitude, signal envelope, estimated signal onset.

signal_energy and signal_onset estim

Below:
R: bpm estimated from the first 3 seconds of signal,
G: bpm estimated from the second 3 seconds of signal,
B: bpm estimated from the third 3 seconds of signal,
Black: Avg. of the three previous estimations.

beat estim final 02
Remark: There is no real bpm fluctuation over the frames, as the peaks keep their position.

 

Code here. Please contribute.