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.4.tar.gz
md5=c37d3d7300159c55f7f661afa702350f
sha512=14eae4f480fa6b2f94811059c4811f0b967de32819b6908e0f3c03579f912614cad7351c12eb31c485b25a8dd4e86091853f93890a491a74c91a5b12e98ff28d

doc/mm.audio/Mm_audio/Audio/Mono/Generator/class-adsr/index.html

Class Generator.adsrSource

Apply an ADSR envlope on a generator.

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

Fill a buffer with generated sound.

method fill_add : buffer -> 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.