package soundtouch

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

Module Soundtouch.BPMSource

Tempo (beats-per-minute) detection.

Sourcetype t

A beat detector.

Sourceval make : int -> int -> t

Create a new beat detector with given number of channels and samplerate.

Sourceval put_samples_ba : t -> (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t -> unit

Put samples in the detector.

Sourceval put_samples_ni : t -> float array array -> int -> int -> unit

Put samples in the detector.

Sourceval get_bpm : t -> float

Analyze samples and estimate tempo (in beats per minute).

OCaml

Innovation. Community. Security.