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.oss/Mm_oss/class-reader/index.html

Class Mm_oss.readerSource

method channels : int

Number of channels.

method sample_rate : int

Sample rate in samples per second.

method length : int

Length in samples.

method duration : float

Duration in seconds.

method seek : int -> unit

Seek to a given sample.

method close : unit

Close the file. This method should only be called once. The members of the object should not be accessed anymore after this method has been called.

method read : Mm_audio.Audio.buffer -> int -> int -> int
OCaml

Innovation. Community. Security.