package mm

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

Create a reader object from a wav file.

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 : buffer -> int -> int -> int
OCaml

Innovation. Community. Security.