module Generator:sig
..end
Sound generators.
class type t =object
..end
A sound generator.
class sine :int -> ?volume:float -> ?phase:float -> float ->
t
Generate a sine waveform.
class square :int -> ?volume:float -> ?phase:float -> float ->
t
Generate a square waveform.
class saw :int -> ?volume:float -> ?phase:float -> float ->
t
Generate a saw waveform.
class triangle :int -> ?volume:float -> ?phase:float -> float ->
t
Generate a triangle waveform.
class white_noise :?volume:float -> int ->
t
class chain :t -> Audio.Mono.Effect.t ->
t
class add :t -> t ->
t
class mult :t -> t ->
t
class adsr :Audio.Mono.Effect.ADSR.t -> t ->
t
Apply an ADSR envlope on a generator.