Selector

The Selector audio object allows you to switches between two sets of consecutive input channels and routes one of the sets to the output. While switching between the two sets, it applies ramping.

The Selector object has user configurable number of outputs which would imply that the number of inputs would be twice the output channels. The first n channels would be first group and n+1 to 2n channels would be next group.

For example: If the output configured is 2, then number of inputs would be 4. There would be 2 groups. 1 and 2 channels would form first group, 3 and 4 channels would be next group. The 2 output channels would be routed either from group 1 or group 2 based on selection.

Use case: This object can be deployed whenever a selected input channels are required in output channels in the audio pipeline.

Selector Properties

Below table describes about the Selector audio object properties and functionality.

Properties Description
# of Audio Out Enter the number of output channels.

  • Range: 1 to 127
  • Data type: Unsigned short
  • The default value is set to 1.

The number of inputs are always twice the number of output channels.

Display Name Display the name of the Selector audio object in signal flow design. It can be changed based on the intended usage of the object.

Mode

There are no mode available for Selector audio object.

Additional Parameters

There are no additional parameters available for Selector audio object.

Tuning Parameters

Below table describes the tuning parameters of Selector audio object.

The object exposes one variable for tuning, which is the ramp time.

Parameter Description Type Unit Default Range
Ramp time The selected input channels are available at output channels within ramp time. float ms 1 ms 0 to 10000
Selector Control The object also has tuning parameter SelectorControl for switching between two groups. Unsigned Long None 0 0 – channel 1 to m_NumAudioOut

1 – channel m_NumAudioOut +1 to m_NumAudioIn

Control Interface

The Selector exposes one control, which is the actual switch that triggers switching between the two sets. Below table describes the control parameters of Selector audio object.

Parameter Description Type Unit Default Range
selector Val This is the actual switch that triggers switching between the input groups similar to SelectorControl of tuning parameter. unsigned integer None 0 0 – channel 1 to m_NumAudioOut

1 – channel m_NumAudioOut +1 to m_NumAudioIn

Native Panel

Selector audio object does not support native panel.