package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Sound generators.

class type t = object ... end

A sound generator.

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

Generate a sine waveform.

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

Generate a square waveform.

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

Generate a saw waveform.

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

Generate a triangle waveform.

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

Apply an ADSR envlope on a generator.

OCaml

Innovation. Community. Security.