package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Audio.NodeSource

Audio nodes.

Nodes

Sourcemodule Channel_count_mode : sig ... end

Channel count mode enumeration.

Sourcemodule Channel_interpretation : sig ... end

Channel intepretation enumeration.

Sourcetype t

The type for AudioNode objects.

Sourcetype node = t

See t.

Sourcetype context
Sourceval as_target : t -> Brr.Ev.target

as_target n is n as an event target.

Sourceval context : t -> context

context n is the audio context of n.

Sourceval input_count : t -> int

input_count n is the number of inputs of n.

Sourceval output_count : t -> int

output_count n is the number of outputs of n.

Sourceval channel_count : t -> int

channel_count n is the number of channels used by n.

Sourceval set_channel_count : t -> int -> unit

set_channel_count n c sets channel_count of n to c.

Sourceval channel_count_mode : t -> Channel_count_mode.t

channel_count_mode n is the channel count mode of n.

Sourceval set_channel_count_mode : t -> Channel_count_mode.t -> unit

set_channel_count_mode n m sets the channel_count_mode of n to m.

Sourceval channel_interpretation : t -> Channel_interpretation.t

channel_interpretation n is the channel interpretation of n.

Sourceval set_channel_interpretation : t -> Channel_interpretation.t -> unit

set_channel_interpretation n i sets the channel_interpretation of n to i.

Sourceval connect_node : ?output:int -> ?input:int -> t -> dst:t -> unit

connect_node n ~output ~input ~dst connects n to dst.

Sourceval connect_param : ?output:int -> t -> dst:Param.t -> unit

connect_param n ~output ~dst connects n to dst.

Sourceval disconnect : t -> unit

disconnect n disconnects all outgoing connections.

Sourceval disconnect_node : ?output:int -> ?input:int -> t -> dst:t -> unit

disconnect_node n ~dst disconnects n from dst.

Sourceval disconnect_param : ?output:int -> t -> dst:Param.t -> unit

disconnect_param n ~dst disconnects n from dst.

Node types

Sourcemodule Analyser : sig ... end

Analyser nodes.

Sourcemodule Biquad_filter : sig ... end

Biquad filter nodes.

Sourcemodule Buffer_source : sig ... end

Buffer source nodes.

Sourcemodule Channel_merger : sig ... end

Channel merger nodes.

Sourcemodule Channel_splitter : sig ... end

Channel splitter nodes.

Sourcemodule Constant_source : sig ... end

Constant source nodes.

Sourcemodule Convolver : sig ... end

Convolver node.

Sourcemodule Delay : sig ... end

Delay node.

Sourcemodule Destination : sig ... end

Destination nodes.

Sourcemodule Dynamics_compressor : sig ... end

Dyamics compressor nodes.

Sourcemodule Gain : sig ... end

Gain nodes.

Sourcemodule Iir_filter : sig ... end

IIR filter nodes.

Sourcemodule Media_element_source : sig ... end

Media element source nodes.

Sourcemodule Media_stream_destination : sig ... end

Media stream destination nodes.

Sourcemodule Media_stream_source : sig ... end

Media stream source nodes.

Sourcemodule Media_stream_track_source : sig ... end

Media stream track source nodes.

Sourcemodule Oscillator : sig ... end

Oscillator nodes.

Sourcemodule Panner : sig ... end

Panner nodes.

Sourcemodule Stereo_panner : sig ... end

Stereo panner nodes.

Sourcemodule Wave_shaper : sig ... end

Wave shaper nodes.

Sourcemodule Worklet : sig ... end

Worklet nodes.