Module Node.Stereo_panner

Stereo panner nodes.

type opts

The type for StereoPannerOptions.

val opts : ?channel_count:int -> ?channel_count_mode:Channel_count_mode.t -> ?channel_interpretation:Channel_interpretation.t -> ?pan:float -> unit -> opts

opts () are stereo panner node options with given parameters.

type t

The type for StereoPannerNode objects.

val create : ?opts:opts -> context -> t

create ~opts c creates a stereo panner node.

val as_node : t -> node

as_node n is n as an audio node.

val pan : t -> Param.t

pan d is the pan of n.