Module Node.Delay

Delay node.

type opts

The type for DelayOptions.

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

opts () are delay node options with given parameters.

type t

The type for DelayNode objects.

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

create ~opts c creates a delay node.

val as_node : t -> node

as_node n is n as an audio node.

val delay_time : t -> Param.t

delay_time d is the delay time of n.