package soundtouch

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Tempo (beats-per-minute) detection.

type t

A beat detector.

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).

OCaml

Innovation. Community. Security.