AudioTrackProperty Struct
Information about one audio track to extract. You can select multiple tracks.
The parent of this entity is AudioTrackSelection.
| 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 audioTrackProperty: medialive.CfnChannel.AudioTrackProperty = {
premixSettings: {
audioNormalizationSettings: {
algorithm: 'algorithm',
algorithmControl: 'algorithmControl',
peakCalculation: 'peakCalculation',
peakLimiterThreshold: 123,
targetLkfs: 123,
},
channels: 123,
gainDb: 123,
remixSettings: {
channelMappings: [{
inputChannelLevels: [{
gain: 123,
inputChannel: 123,
}],
outputChannel: 123,
}],
channelsIn: 123,
channelsOut: 123,
},
},
track: 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_track_property = medialive.CfnChannel.AudioTrackProperty(
premix_settings=medialive.CfnChannel.AudioPreMixerSettingsProperty(
audio_normalization_settings=medialive.CfnChannel.AudioNormalizationSettingsProperty(
algorithm="algorithm",
algorithm_control="algorithmControl",
peak_calculation="peakCalculation",
peak_limiter_threshold=123,
target_lkfs=123
),
channels=123,
gain_db=123,
remix_settings=medialive.CfnChannel.RemixSettingsProperty(
channel_mappings=[medialive.CfnChannel.AudioChannelMappingProperty(
input_channel_levels=[medialive.CfnChannel.InputChannelLevelProperty(
gain=123,
input_channel=123
)],
output_channel=123
)],
channels_in=123,
channels_out=123
)
),
track=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.*;
AudioTrackProperty audioTrackProperty = AudioTrackProperty.builder()
.premixSettings(AudioPreMixerSettingsProperty.builder()
.audioNormalizationSettings(AudioNormalizationSettingsProperty.builder()
.algorithm("algorithm")
.algorithmControl("algorithmControl")
.peakCalculation("peakCalculation")
.peakLimiterThreshold(123)
.targetLkfs(123)
.build())
.channels(123)
.gainDb(123)
.remixSettings(RemixSettingsProperty.builder()
.channelMappings(List.of(AudioChannelMappingProperty.builder()
.inputChannelLevels(List.of(InputChannelLevelProperty.builder()
.gain(123)
.inputChannel(123)
.build()))
.outputChannel(123)
.build()))
.channelsIn(123)
.channelsOut(123)
.build())
.build())
.track(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 audioTrackProperty = new AudioTrackProperty {
PremixSettings = new AudioPreMixerSettingsProperty {
AudioNormalizationSettings = new AudioNormalizationSettingsProperty {
Algorithm = "algorithm",
AlgorithmControl = "algorithmControl",
PeakCalculation = "peakCalculation",
PeakLimiterThreshold = 123,
TargetLkfs = 123
},
Channels = 123,
GainDb = 123,
RemixSettings = new RemixSettingsProperty {
ChannelMappings = new [] { new AudioChannelMappingProperty {
InputChannelLevels = new [] { new InputChannelLevelProperty {
Gain = 123,
InputChannel = 123
} },
OutputChannel = 123
} },
ChannelsIn = 123,
ChannelsOut = 123
}
},
Track = 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"
audioTrackProperty := &AudioTrackProperty{
PremixSettings: &AudioPreMixerSettingsProperty{
AudioNormalizationSettings: &AudioNormalizationSettingsProperty{
Algorithm: jsii.String("algorithm"),
AlgorithmControl: jsii.String("algorithmControl"),
PeakCalculation: jsii.String("peakCalculation"),
PeakLimiterThreshold: jsii.Number(123),
TargetLkfs: jsii.Number(123),
},
Channels: jsii.Number(123),
GainDb: jsii.Number(123),
RemixSettings: &RemixSettingsProperty{
ChannelMappings: []interface{}{
&AudioChannelMappingProperty{
InputChannelLevels: []interface{}{
&InputChannelLevelProperty{
Gain: jsii.Number(123),
InputChannel: jsii.Number(123),
},
},
OutputChannel: jsii.Number(123),
},
},
ChannelsIn: jsii.Number(123),
ChannelsOut: jsii.Number(123),
},
},
Track: jsii.Number(123),
}
Properties
premixSettingsoptionalIResolvable | CfnChannel.premix_settingsoptionaltyping.Union[IResolvable, AudioPreMixerSettingsProperty]premixSettingsoptionalIResolvablePremixSettingsoptionalIResolvablePremixSettingsoptionalinterface{} #trackoptionalnumbertrackoptionalint | floattrackoptionalNumberTrackoptionaldoubleTrackoptional*float64 #1-based integer value that maps to a specific audio track.