GainNode

external interface GainNode : AudioNode

Properties

Link copied to clipboard
abstract val channelCount: Int
Link copied to clipboard
abstract val context: AudioContext
Link copied to clipboard
abstract val gain: AudioParam
Link copied to clipboard
abstract val numberOfInputs: Int
Link copied to clipboard
abstract val numberOfOutputs: Int

Functions

Link copied to clipboard
abstract fun connect(destination: AudioNode, output: Int? = definedExternally, input: Int? = definedExternally): AudioNode
Link copied to clipboard
abstract fun disconnect(output: Int? = definedExternally)
abstract fun disconnect(destination: AudioNode, output: Int? = definedExternally, input: Int? = definedExternally)
Link copied to clipboard
fun AudioNode.gain(callback: GainNode.() -> Unit = {}): GainNode?
Link copied to clipboard
fun AudioNode.panner(callback: PannerNode.() -> Unit = {}): PannerNode?
Link copied to clipboard
Link copied to clipboard