package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
exception Not_supported
val create : channels:int -> samplerate:int -> t

Create internal state for computing ReplayGain. Raises Not_supported if the samplerate is not supported.

val process : t -> buffer -> int -> int -> unit

Process a buffer.

val peak : t -> float

Peak of processed samples.

val gain : t -> float

Replaygain for processed samples.

OCaml

Innovation. Community. Security.