package mm

  1. Overview
  2. Docs
The mm library contains high-level to create and manipulate multimedia streams (audio, video, MIDI)

Install

Dune Dependency

Authors

Maintainers

Sources

v0.7.2.tar.gz
md5=c402e924951cc299541bae67fb413440
sha512=a8bffa9cd9b1b42c05c6d6af11648162d4189afe2a36a93883e08d7260f6cbe7fa6f3ca6582434eb9a20746a7004684474516990127bad017e12f2c7e4abeb53

doc/mm.audio/Mm_audio/Audio/Mono/index.html

Module Audio.MonoSource

Operations on mono buffers (with only one channel).

Sourcetype buffer = t
Sourceval create : int -> t
Sourceval make : int -> float -> t
Sourceval of_array : float array -> t
Sourceval to_array : t -> float array
Sourceval sub : t -> int -> int -> t
Sourceval blit : t -> t -> unit
Sourceval copy : t -> t
Sourceval length : t -> int

Length in samples.

Sourceval append : t -> t -> t
Sourceval clear : t -> unit

Clear a portion of a buffer (fill it with zeroes).

Sourceval amplify : float -> t -> unit
Sourceval resample : ?mode:[ `Nearest | `Linear ] -> float -> t -> t
Sourceval clip : t -> unit
Sourceval noise : t -> unit
Sourceval add : t -> t -> unit

Samplewise add two buffers of the same length.

Sourceval mult : t -> t -> unit
Sourcemodule Buffer_ext : sig ... end

Buffers of variable size. These are particularly useful for temporary buffers.

Sourcemodule Analyze : sig ... end

Functions for analyzing audio data.

Sourcemodule Effect : sig ... end
Sourcemodule Generator : sig ... end

Sound generators.

OCaml

Innovation. Community. Security.