mm.audio
Audio.Mono
Operations on mono buffers (with only one channel).
mm
mm.base
mm.image
mm.midi
mm.oss
mm.video
type t = (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t
A mono buffer.
type buffer = t
val create : int -> t
val make : int -> float -> t
val of_array : float array -> t
val to_array : t -> float array
val sub : t -> int -> int -> t
val blit : t -> t -> unit
val copy : t -> t
val length : t -> int
Length in samples.
val append : t -> t -> t
val clear : t -> unit
Clear a portion of a buffer (fill it with zeroes).
val amplify : float -> t -> unit
val resample : ?mode:[ `Nearest | `Linear ] -> float -> t -> t
val clip : t -> unit
val noise : t -> unit
val add : t -> t -> unit
Samplewise add two buffers of the same length.
val mult : t -> t -> unit
module Ringbuffer_ext : Mm_base.Ringbuffer.R with type buffer = t
module Ringbuffer : Mm_base.Ringbuffer.R with type buffer = t
module Buffer_ext : sig ... end
Buffers of variable size. These are particularly useful for temporary buffers.
module Analyze : sig ... end
Functions for analyzing audio data.
module Effect : sig ... end
module Generator : sig ... end
Sound generators.