Node.Constant_source
Constant source nodes.
type opts
The type for ConstantSourceOptions.
ConstantSourceOptions
val opts : ?offset:float -> unit -> opts
opts () are constant source node options with given parameters.
opts ()
type t
The type for ConstantSourceNode objects.
ConstantSourceNode
val create : ?opts:opts -> context -> t
create ~opts c creates a constant source node node.
create ~opts c
val as_node : t -> node
as_node n is n as an audio node.
as_node n
n
val offset : t -> Param.t
offset n is the offset of n.
offset n
val start : ?time:float -> t -> unit
start n starts node n.
start n
val stop : ?time:float -> t -> unit
stop n stops node n.
stop n