You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::AudioNormalizationSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass AudioNormalizationSettings data as a hash:

{
  algorithm: "ITU_BS_1770_1", # accepts ITU_BS_1770_1, ITU_BS_1770_2
  algorithm_control: "CORRECT_AUDIO", # accepts CORRECT_AUDIO, MEASURE_ONLY
  correction_gate_level: 1,
  loudness_logging: "LOG", # accepts LOG, DONT_LOG
  peak_calculation: "TRUE_PEAK", # accepts TRUE_PEAK, NONE
  target_lkfs: 1.0,
}

Advanced audio normalization settings.

Instance Attribute Summary collapse

Instance Attribute Details

#algorithmString

Audio normalization algorithm to use. 1770-1 conforms to the CALM Act specification, 1770-2 conforms to the EBU R-128 specification.

Returns:

  • (String)


607
608
609
610
611
612
613
614
615
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 607

class AudioNormalizationSettings < Struct.new(
  :algorithm,
  :algorithm_control,
  :correction_gate_level,
  :loudness_logging,
  :peak_calculation,
  :target_lkfs)
  include Aws::Structure
end

#algorithm_controlString

When enabled the output audio is corrected using the chosen algorithm. If disabled, the audio will be measured but not adjusted.

Returns:

  • (String)


607
608
609
610
611
612
613
614
615
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 607

class AudioNormalizationSettings < Struct.new(
  :algorithm,
  :algorithm_control,
  :correction_gate_level,
  :loudness_logging,
  :peak_calculation,
  :target_lkfs)
  include Aws::Structure
end

#correction_gate_levelInteger

Content measuring above this level will be corrected to the target level. Content measuring below this level will not be corrected. Gating only applies when not using real_time_correction.

Returns:

  • (Integer)


607
608
609
610
611
612
613
614
615
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 607

class AudioNormalizationSettings < Struct.new(
  :algorithm,
  :algorithm_control,
  :correction_gate_level,
  :loudness_logging,
  :peak_calculation,
  :target_lkfs)
  include Aws::Structure
end

#loudness_loggingString

If set to LOG, log each output's audio track loudness to a CSV file.

Returns:

  • (String)


607
608
609
610
611
612
613
614
615
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 607

class AudioNormalizationSettings < Struct.new(
  :algorithm,
  :algorithm_control,
  :correction_gate_level,
  :loudness_logging,
  :peak_calculation,
  :target_lkfs)
  include Aws::Structure
end

#peak_calculationString

If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.

Returns:

  • (String)


607
608
609
610
611
612
613
614
615
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 607

class AudioNormalizationSettings < Struct.new(
  :algorithm,
  :algorithm_control,
  :correction_gate_level,
  :loudness_logging,
  :peak_calculation,
  :target_lkfs)
  include Aws::Structure
end

#target_lkfsFloat

Target LKFS(loudness) to adjust volume to. If no value is entered, a default value will be used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.

Returns:

  • (Float)


607
608
609
610
611
612
613
614
615
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 607

class AudioNormalizationSettings < Struct.new(
  :algorithm,
  :algorithm_control,
  :correction_gate_level,
  :loudness_logging,
  :peak_calculation,
  :target_lkfs)
  include Aws::Structure
end