BackgroundAudioTrack BackgroundAudioTrack BackgroundAudioTrack BackgroundAudioTrack BackgroundAudioTrack Class


Represents a single audio track for accompanying a video clip.

public : sealed class BackgroundAudioTrack
struct winrt::Windows::Media::Editing::BackgroundAudioTrack
public sealed class BackgroundAudioTrack
Public NotInheritable Class BackgroundAudioTrack
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Add background audio tracks to a composition by adding them to a MediaComposition object's BackgroundAudioTracks collection.

For how-to guidance on adding media editing to your app, see Media compositions and editing.


AudioEffectDefinitions AudioEffectDefinitions AudioEffectDefinitions AudioEffectDefinitions AudioEffectDefinitions

Gets the list of audio effect definitions for processing the background audio track.

Delay Delay Delay Delay Delay

Specifies how long to wait before starting background audio playback.

OriginalDuration OriginalDuration OriginalDuration OriginalDuration OriginalDuration

Original playback time of the background audio track, without the effects of the TrimTimeFromStart and TrimTimeFromEnd properties.

TrimmedDuration TrimmedDuration TrimmedDuration TrimmedDuration TrimmedDuration

Duration of the background audio track with TrimTimeFromStart and TrimTimeFromEnd applied to playback.

TrimTimeFromEnd TrimTimeFromEnd TrimTimeFromEnd TrimTimeFromEnd TrimTimeFromEnd

The amount of time to trim from the end of the background audio track.

TrimTimeFromStart TrimTimeFromStart TrimTimeFromStart TrimTimeFromStart TrimTimeFromStart

The amount of time to trim from the beginning of the background audio track.

UserData UserData UserData UserData UserData

An associative collection for storing custom properties associated with the background audio track.

Volume Volume Volume Volume Volume

Gets or sets the volume of the background audio track.


Clone() Clone() Clone() Clone() Clone()

Creates a BackgroundAudioTrack object that is identical to this instance.

CreateFromEmbeddedAudioTrack(EmbeddedAudioTrack) CreateFromEmbeddedAudioTrack(EmbeddedAudioTrack) CreateFromEmbeddedAudioTrack(EmbeddedAudioTrack) CreateFromEmbeddedAudioTrack(EmbeddedAudioTrack) CreateFromEmbeddedAudioTrack(EmbeddedAudioTrack)

Creates a background audio track object with audio content copied from an embedded audio track object.

CreateFromFileAsync(IStorageFile) CreateFromFileAsync(IStorageFile) CreateFromFileAsync(IStorageFile) CreateFromFileAsync(IStorageFile) CreateFromFileAsync(IStorageFile)

Creates a background audio track from an audio file.

GetAudioEncodingProperties() GetAudioEncodingProperties() GetAudioEncodingProperties() GetAudioEncodingProperties() GetAudioEncodingProperties()

Gets the AudioEncodingProperties for the background audio track.

See also