Equalizer

class brainstem.entity.Equalizer(module, index)[source]

Equalizer Class provides receiver and transmitter gain/boost/emphasis settings for some of Acroname’s products. Please see product documentation for further details.

getReceiverConfig(channel)[source]

Gets the receiver configuration for a given channel.

Parameters:

channel – The equalizer receiver channel.

Returns:

Result object, containing NO_ERROR and the receiver configuration of the supplied channel or a non zero Error code.

getTransmitterConfig()[source]

Gets the transmitter configuration

Returns:

Result object, containing NO_ERROR and the current transmitter config or a non zero Error code.

setReceiverConfig(channel, config)[source]

Sets the receiver configuration for a given channel.

Parameters:
  • channel – The equalizer receiver channel.

  • config – Configuration to be applied to the receiver.

Returns:

Result.error Return NO_ERROR on success, or one of the common sets of return error codes on failure.

setTransmitterConfig(config)[source]

Sets the transmitter configuration

Parameters:

config – Configuration to be applied to the transmitter.

Returns:

Result.error Return NO_ERROR on success, or one of the common sets of return error codes on failure.