Equalizer

See the Equalizer Entity for generic information.

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

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 (unsigned char) – The equalizer receiver channel.

Returns:

Object containing error code and returned value on success.
errorunsigned byte

An error result from the list of defined error codes

valueunsigned char

Configuration of the receiver.

Return type:

brainstem.result.Result

getTransmitterConfig()[source]

Gets the transmitter configuration

Returns:

Object containing error code and returned value on success.
errorunsigned byte

An error result from the list of defined error codes

valueunsigned char

Configuration of the Transmitter.

Return type:

brainstem.result.Result

setReceiverConfig(channel, config)[source]

Sets the receiver configuration for a given channel.

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

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

Returns:

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

Return type:

unsigned byte

setTransmitterConfig(config)[source]

Sets the transmitter configuration

Parameters:

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

Returns:

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

Return type:

unsigned byte