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.1.tar.gz
md5=948721e8a3e15015eb0b013d9f59f37b
sha512=f78edef4eb03d14c7a77a605241650e4bc2b3fb7ab7cfc37e0ea3acdcae8279ea7538179796ffd007456e2f657fe8335f3d57255e91c4db599c827161e5b92b2

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.