package mm

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

Generate a sine waveform.

method set_volume : float -> unit
method set_frequency : float -> unit
method fill : buffer -> int -> int -> unit

Fill a buffer with generated sound.

method fill_add : buffer -> int -> int -> unit

Same as fill but adds the sound to the buffer.

method release : unit

Release the generator (used for generator with envelopes).

method dead : bool

Is the generator still producing sound? This should become false soon after release has been triggered.

OCaml

Innovation. Community. Security.