AudioGainSettings interface

Settings for an Audio Gain node see: NorskTransform.audioGain()

Signature:

export interface AudioGainSettings extends ProcessorNodeSettings<AudioGainNode>

Properties

Property Type Description

channelGains

readonly Gain[]

A vector of gains for this source, one for each channel

onInputChanged?

(metadata?: StreamMetadata) ⇒ (Gain[] | undefined | void)

(Optional) Input changed callback, allowing the opportunity to update config (eg on channel count changing)