Audio Settings¶
Enumerations for audio format settings.
StereoMode¶
- class avblocks.StereoMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
IntEnumDefines stereo mode in MPEG Audio and AAC.
- Joint = 4¶
If AAC encoder is used with mode Joint the encoding of every frame will be done with Mid/Side or Left-Right Stereo coding technique depending on the data present in the frame. If MPEG Audio encoder is used with this mode:
Layer 1: the encoding will be done using normal independent coding of left and right channels (same as LR mode).
Layer 2: the encoding will use Intensity coding technique when the bit rate is lower than 96Kb/s for 2 channel setup in combination with normal independent coding of left and right channels, otherwise will use only left and right coding.
Layer 3: the encoding of every frame will be done with Mid/Side or Left-Right Stereo coding technique depending on the data present in the frame
- LR = 2¶
If MPEG Audio/AAC encoder is used with LR mode the encoding will be done using normal independent coding of left and right channels
- MidSide = 3¶
If AAC encoder is used with mode MidSide the encoding will be done using Mid/Side coding technique. If MPEG Audio encoder is used with this mode:
Layers 1 and 2: the encoding will be done using normal independent coding of left and right channels (same as LR mode)
Layer 3: the encoding will use Intensity coding technique when the bit rate is lower than 96Kb/s for 2 channel setup in combination with normal independent coding of left and right channels, otherwise will use only left and right coding.
Layer 3: the encoding of every frame will be done with Mid/Side or Left-Right Stereo coding technique depending on the data present in the frame
- None_ = 0¶
None/LR mode is chosen by default