Soundtouch.BPM
Tempo (beats-per-minute) detection.
val make : int -> int -> t
Create a new beat detector with given number of channels and samplerate.
val put_samples_ba : t -> (float, Stdlib.Bigarray.float32_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.t -> unit
Put samples in the detector.
val put_samples_ni : t -> float array array -> int -> int -> unit
Put samples in the detector.
val get_bpm : t -> float
Analyze samples and estimate tempo (in beats per minute).