Speaker#
- class carb.audio.audio.Speaker#
Bases:
pybind11_objectNames for each supported standard speaker. Positions are given relative to the unit circle where the listener is at the circle’s center and angles run in the clockwise direction with 0 degrees being directly in front of the listener. Note that some of these speakers may have different positions depending on the overall speaker layout. For example, in a stereo layout the ‘front left’ and ‘front right’ speakers are typically used but are located at 270 and 90 degrees respectively instead of 315 and 45 degrees.
Members:
FRONT_LEFT : The front left speaker. Usually located at 315 degrees and an inclination of 0 degrees.
FRONT_RIGHT : The front right speaker. Usually located at 45 degrees and an inclination of 0 degrees.
FRONT_CENTER : The front center speaker. Usually located at 0 degrees and an inclination of 0 degrees.
LOW_FREQUENCY_EFFECT : The low frequency (ie: subwoofer) channel. This is always treated as a non-directional source and behaves mathematically as if it were located at the listener’s position.
BACK_LEFT : The back left speaker. Usually located at 225 degrees and an inclination of 0 degrees.
BACK_RIGHT : The back right speaker. Usually located at 135 degrees and an inclination of 0 degrees.
BACK_CENTER : The back center speaker. Usually located at 180 degrees and an inclination of 0 degrees.
SIDE_LEFT : The side left speaker. Usually located at 270 degrees and an inclination of 0 degrees.
SIDE_RIGHT : The side right speaker. Usually located at 90 degrees and an inclination of 0 degrees.
TOP_FRONT_LEFT : The top front left speaker. Usually located at 315 degrees and an inclination of 45 degrees.
TOP_FRONT_RIGHT : The top front right speaker. Usually located at 45 degrees and an inclination of 45 degrees.
TOP_BACK_LEFT : The top back left speaker. Usually located at 225 degrees and an inclination of 45 degrees.
TOP_BACK_RIGHT : The top back right speaker. Usually located at 135 degrees and an inclination of 45 degrees.
FRONT_LEFT_WIDE : The front left wide speaker. Usually located at 300 degrees and an inclination of 0 degrees.
FRONT_RIGHT_WIDE : The front right wide speaker. Usually located at 60 degrees and an inclination of 0 degrees.
TOP_LEFT : The top left speaker. Usually located at 270 degrees and an inclination of 45 degrees.
TOP_RIGHT : The top right speaker. Usually located at 90 degrees and an inclination of 45 degrees.
COUNT : The total number of supported standard speaker names. This is not a valid speaker name.
Methods
__init__(self, value)Attributes
BACK_CENTERBACK_LEFTBACK_RIGHTCOUNTFRONT_CENTERFRONT_LEFTFRONT_LEFT_WIDEFRONT_RIGHTFRONT_RIGHT_WIDELOW_FREQUENCY_EFFECTSIDE_LEFTSIDE_RIGHTTOP_BACK_LEFTTOP_BACK_RIGHTTOP_FRONT_LEFTTOP_FRONT_RIGHTTOP_LEFTTOP_RIGHTvalue- __init__(self: carb.audio.audio.Speaker, value: int) None#
- property name#