AudioPreMixerSettings

class aws_cdk.aws_medialive_alpha.AudioPreMixerSettings(*args: Any, **kwargs)

Bases: object

(experimental) Audio pre-mixer settings for normalizing audio before interleaving.

Applied per-PID or per-track before tracks are combined.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

# audio_normalization_algorithm: medialive_alpha.AudioNormalizationAlgorithm
# audio_normalization_algorithm_control: medialive_alpha.AudioNormalizationAlgorithmControl
# audio_normalization_peak_calculation: medialive_alpha.AudioNormalizationPeakCalculation

audio_pre_mixer_settings = medialive_alpha.AudioPreMixerSettings.of(
    audio_normalization_settings=medialive_alpha.AudioNormalizationSettings(
        algorithm=audio_normalization_algorithm,
        algorithm_control=audio_normalization_algorithm_control,
        peak_calculation=audio_normalization_peak_calculation,
        peak_limiter_threshold=123,
        target_lkfs=123
    ),
    channels=123,
    gain_db=123,
    remix_settings=medialive_alpha.RemixSettings(
        channel_mappings=[medialive_alpha.AudioChannelMapping(
            input_channel_levels=[medialive_alpha.InputChannelLevel(
                input_channel=123,

                # the properties below are optional
                gain=123
            )],
            output_channel=123
        )],

        # the properties below are optional
        channels_in=123,
        channels_out=123
    )
)

Static Methods

classmethod of(*, audio_normalization_settings=None, channels=None, gain_db=None, remix_settings=None)

(experimental) Create pre-mixer settings.

Parameters:
  • audio_normalization_settings (Union[AudioNormalizationSettings, Dict[str, Any], None]) – (experimental) Audio normalization settings for loudness control. Default: - no normalization

  • channels (Union[int, float, None]) – (experimental) The number of audio channels to remix to. Overridden by remixSettings if specified. Default: - pass through original channel count

  • gain_db (Union[int, float, None]) – (experimental) The gain adjustment in decibels (dB). Default: - no gain adjustment

  • remix_settings (Union[RemixSettings, Dict[str, Any], None]) – (experimental) Remix settings for fine-grained channel mapping and gain levels. Default: - no remixing

Stability:

experimental

Return type:

AudioPreMixerSettings