module Mono:sig
..end
Operations on mono buffers (with only one channel).
typebuffer =
float array
A mono buffer.
val create : int -> buffer
val blit : buffer -> int -> buffer -> int -> int -> unit
val copy : buffer -> buffer
val duration : buffer -> int
val append : buffer -> buffer -> buffer
val clear : buffer -> int -> int -> unit
Clear a portion of a buffer (fill it with zeroes).
val amplify : float -> buffer -> int -> int -> unit
val resample : ?mode:[ `Linear | `Nearest ] ->
float -> buffer -> int -> int -> buffer
val clip : buffer -> int -> int -> unit
val add : buffer -> int -> buffer -> int -> int -> unit
add b1 o1 b2 o2 len
adds len
samples of contents of b2
starting at
o2
to b1
starting at o1
.
val mult : buffer -> int -> buffer -> int -> int -> unit
module Ringbuffer_ext:Ringbuffer.R
with type elt = float
module Ringbuffer:Ringbuffer.R
with type elt = float
module Buffer_ext:sig
..end
Buffers of variable size.
module Analyze:sig
..end
Functions for analyzing audio data.
module Effect:sig
..end
module Generator:sig
..end
Sound generators.