AudioNormalizationSettingsProperty Struct
The settings for normalizing video.
The parent of this entity is AudioDescription.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const audioNormalizationSettingsProperty: medialive.CfnChannel.AudioNormalizationSettingsProperty = {
algorithm: 'algorithm',
algorithmControl: 'algorithmControl',
peakCalculation: 'peakCalculation',
peakLimiterThreshold: 123,
targetLkfs: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive
audio_normalization_settings_property = medialive.CfnChannel.AudioNormalizationSettingsProperty(
algorithm="algorithm",
algorithm_control="algorithmControl",
peak_calculation="peakCalculation",
peak_limiter_threshold=123,
target_lkfs=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;
AudioNormalizationSettingsProperty audioNormalizationSettingsProperty = AudioNormalizationSettingsProperty.builder()
.algorithm("algorithm")
.algorithmControl("algorithmControl")
.peakCalculation("peakCalculation")
.peakLimiterThreshold(123)
.targetLkfs(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var audioNormalizationSettingsProperty = new AudioNormalizationSettingsProperty {
Algorithm = "algorithm",
AlgorithmControl = "algorithmControl",
PeakCalculation = "peakCalculation",
PeakLimiterThreshold = 123,
TargetLkfs = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
audioNormalizationSettingsProperty := &AudioNormalizationSettingsProperty{
Algorithm: jsii.String("algorithm"),
AlgorithmControl: jsii.String("algorithmControl"),
PeakCalculation: jsii.String("peakCalculation"),
PeakLimiterThreshold: jsii.Number(123),
TargetLkfs: jsii.Number(123),
}
Properties
algorithmoptionalstringalgorithmoptionalstralgorithmoptionalStringAlgorithmoptionalstringAlgorithmoptional*string #The audio normalization algorithm to use.
itu17701 conforms to the CALM Act specification. itu17702 conforms to the EBU R-128 specification.
algorithmControloptionalstringalgorithm_controloptionalstralgorithmControloptionalStringAlgorithmControloptionalstringAlgorithmControloptional*string #When set to correctAudio, the output audio is corrected using the chosen algorithm.
If set to measureOnly, the audio is measured but not adjusted.
peakCalculationoptionalstringpeak_calculationoptionalstrpeakCalculationoptionalStringPeakCalculationoptionalstringPeakCalculationoptional*string #peakLimiterThresholdoptionalnumberpeak_limiter_thresholdoptionalint | floatpeakLimiterThresholdoptionalNumberPeakLimiterThresholdoptionaldoublePeakLimiterThresholdoptional*float64 #targetLkfsoptionalnumbertarget_lkfsoptionalint | floattargetLkfsoptionalNumberTargetLkfsoptionaldoubleTargetLkfsoptional*float64 #The Target LKFS(loudness) to adjust volume to.
If no value is entered, a default value is 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.