channelCount property

int channelCount

The channelCount property of the AudioNode represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.

channelCount's usage and precise definition depend on the value of AudioNode.channelCountMode:

  • It is ignored if the channelCountMode value is max.
  • It is used as a maximum value if the channelCountMode value is clamped-max.
  • It is used as the exact value if the channelCountMode value is explicit.

Implementation

int get channelCount;
void channelCount=(int value)

Implementation

set channelCount(int value);