GainNode

Overview

The GainNode interface represents a change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.

Location

 

channelCount    (declared in AudioNode)

 

property channelCount: Int32 read write;

 

Int32 channelCount { get; set; }

 

var channelCount: Int32 { get{} set{} }

 

Int32 channelCount { __get; __set; }

 

Property channelCount() As Int32

channelCountMode    (declared in AudioNode)

 

property channelCountMode: dynamic read write;

 

dynamic channelCountMode { get; set; }

 

var channelCountMode: dynamic { get{} set{} }

 

dynamic channelCountMode { __get; __set; }

 

Property channelCountMode() As dynamic

channelInterpretation    (declared in AudioNode)

 

property channelInterpretation: dynamic read write;

 

dynamic channelInterpretation { get; set; }

 

var channelInterpretation: dynamic { get{} set{} }

 

dynamic channelInterpretation { __get; __set; }

 

Property channelInterpretation() As dynamic

connect    (declared in AudioNode)

Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.

 

method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode

Parameters:

  • pardestination:
  • paroutputIndex:
  • parinputIndex:

context    (declared in AudioNode)

 

property context: String read;

 

String context { get; }

 

var context: String { get{} }

 

String context { __get; }

 

ReadOnly Property context() As String

disconnect    (declared in AudioNode)

Allows us to disconnect the current node from another one it is already connected to.

 

method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)

Parameters:

  • pardestination:
  • paroutput:
  • parinput:

gain

 

property gain: AudioParam read;

 

AudioParam gain { get; }

 

var gain: AudioParam { get{} }

 

AudioParam gain { __get; }

 

ReadOnly Property gain() As AudioParam

numberOfInputs    (declared in AudioNode)

 

property numberOfInputs: dynamic read;

 

dynamic numberOfInputs { get; }

 

var numberOfInputs: dynamic { get{} }

 

dynamic numberOfInputs { __get; }

 

ReadOnly Property numberOfInputs() As dynamic

numberOfOutputs    (declared in AudioNode)

 

property numberOfOutputs: dynamic read;

 

dynamic numberOfOutputs { get; }

 

var numberOfOutputs: dynamic { get{} }

 

dynamic numberOfOutputs { __get; }

 

ReadOnly Property numberOfOutputs() As dynamic

 

channelCount    (declared in AudioNode)

 

property channelCount: Int32 read write;

 

Int32 channelCount { get; set; }

 

var channelCount: Int32 { get{} set{} }

 

Int32 channelCount { __get; __set; }

 

Property channelCount() As Int32

channelCountMode    (declared in AudioNode)

 

property channelCountMode: dynamic read write;

 

dynamic channelCountMode { get; set; }

 

var channelCountMode: dynamic { get{} set{} }

 

dynamic channelCountMode { __get; __set; }

 

Property channelCountMode() As dynamic

channelInterpretation    (declared in AudioNode)

 

property channelInterpretation: dynamic read write;

 

dynamic channelInterpretation { get; set; }

 

var channelInterpretation: dynamic { get{} set{} }

 

dynamic channelInterpretation { __get; __set; }

 

Property channelInterpretation() As dynamic

context    (declared in AudioNode)

 

property context: String read;

 

String context { get; }

 

var context: String { get{} }

 

String context { __get; }

 

ReadOnly Property context() As String

gain

 

property gain: AudioParam read;

 

AudioParam gain { get; }

 

var gain: AudioParam { get{} }

 

AudioParam gain { __get; }

 

ReadOnly Property gain() As AudioParam

numberOfInputs    (declared in AudioNode)

 

property numberOfInputs: dynamic read;

 

dynamic numberOfInputs { get; }

 

var numberOfInputs: dynamic { get{} }

 

dynamic numberOfInputs { __get; }

 

ReadOnly Property numberOfInputs() As dynamic

numberOfOutputs    (declared in AudioNode)

 

property numberOfOutputs: dynamic read;

 

dynamic numberOfOutputs { get; }

 

var numberOfOutputs: dynamic { get{} }

 

dynamic numberOfOutputs { __get; }

 

ReadOnly Property numberOfOutputs() As dynamic

 

connect    (declared in AudioNode)

Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.

 

method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode

Parameters:

  • pardestination:
  • paroutputIndex:
  • parinputIndex:

disconnect    (declared in AudioNode)

Allows us to disconnect the current node from another one it is already connected to.

 

method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)

Parameters:

  • pardestination:
  • paroutput:
  • parinput: