package mm

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.8.5.tar.gz
md5=d2468f8ceecf97dd76a507bf94eba326
sha512=c5b8289d3603fa7d6adb3688bce539ae45ff920c1b587001b2c81ffabf4397f090d4de5c89d8d5251f0eb0b8a7b36ce0104a5a8001dcbfe82e0fbca30f965c64

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

Module Mono.GeneratorSource

Sound generators.

Sourceclass type t = object ... end

A sound generator.

Sourceclass sine : int -> ?volume:float -> ?phase:float -> float -> t

Generate a sine waveform.

Sourceclass square : int -> ?volume:float -> ?phase:float -> float -> t

Generate a square waveform.

Sourceclass saw : int -> ?volume:float -> ?phase:float -> float -> t

Generate a saw waveform.

Sourceclass triangle : int -> ?volume:float -> ?phase:float -> float -> t

Generate a triangle waveform.

Sourceclass white_noise : ?volume:float -> int -> t
Sourceclass chain : t -> Effect.t -> t
Sourceclass add : t -> t -> t
Sourceclass mult : t -> t -> t
Sourceclass adsr : Effect.ADSR.t -> t -> t

Apply an ADSR envlope on a generator.

OCaml

Innovation. Community. Security.