Equalizer

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

EqualizerClass: 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. Configuration of the receiver.

Parameters:

channel (const unsigned char) – The equalizer receiver channel.

Returns:

Result object containing the requested value when the results error is set to NO_ERROR(0)

Return type:

Result

getTransmitterConfig()[source]

Gets the transmitter configuration Configuration of the Transmitter.

Returns:

Result object containing the requested value when the results error is set to NO_ERROR(0)

Return type:

Result

setReceiverConfig(channel, config)[source]

Sets the receiver configuration for a given channel.

Parameters:
  • channel (const unsigned char) – The equalizer receiver channel.

  • config (const unsigned char) – Configuration to be applied to the receiver.

Returns:

An error result from the list of defined error codes in brainstem.result

Return type:

unsigned byte

setTransmitterConfig(config)[source]

Sets the transmitter configuration

Parameters:

config (const unsigned char) – Configuration to be applied to the transmitter.

Returns:

An error result from the list of defined error codes in brainstem.result

Return type:

unsigned byte