class type t =object
..end
method channels : int
Number of channels.
method sample_rate : int
Sample rate in samples per second.
method duration : int
Duration in samples.
method duration_time : 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 : Audio.buffer -> int -> int -> int