package brr

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

Module Node.GainSource

Gain nodes.

Sourcetype opts

The type for GainOptions.

Sourceval opts : ?channel_count:int -> ?channel_count_mode:Channel_count_mode.t -> ?channel_interpretation:Channel_interpretation.t -> ?gain:float -> unit -> opts

opts () are gain node options with given parameters.

Sourcetype t

The type for GainNode objects.

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

create ~opts c creates a gain node.

Sourceval as_node : t -> node

as_node n is n as an audio node.

Sourceval gain : t -> Param.t

gain d is the gain of n.