class type t =object
..end
A sound generator.
method set_volume : float -> unit
method set_frequency : float -> unit
method fill : Audio.Mono.buffer -> int -> int -> unit
Fill a buffer with generated sound.
method fill_add : Audio.Mono.buffer -> int -> int -> unit
Same as fill
but adds the sound to the buffer.
method release : unit
Release the generator (used for generator with envelopes).
method dead : bool
Is the generator still producing sound? This should become false soon after release has been triggered.