Name

activeChannel()

Class

MultiChannel

Description

Controls which output channel sounds will be played back to. After selecting a new output channel, all sounds that start `play()`ing will be sent to that channel.

Syntax

  • MultiChannel.activeChannel(channel)
  • MultiChannel.activeChannel()

Parameters

  • channel(int)the channel number to send sounds to

Return

  • int