Class

AVMutableAudioMixInputParameters

The parameters you use when adding an audio track to a mix.

Declaration

class AVMutableAudioMixInputParameters : AVAudioMixInputParameters

Topics

Creating Input Parameters

init(track: AVAssetTrack?)

Creates a mutable input parameters object for a given track.

Managing the Track ID

var trackID: CMPersistentTrackID

The identifier of the audio track to which the parameters should be applied.

Setting the Volume

func setVolume(Float, at: CMTime)

Sets the value of the audio volume starting at the specified time.

func setVolumeRamp(fromStartVolume: Float, toEndVolume: Float, timeRange: CMTimeRange)

Sets a volume ramp to apply during a specified time range.

Getting an Audio Tap

var audioTapProcessor: MTAudioProcessingTap?

The audio processing tap associated with the track.

Time Pitch Settings

var audioTimePitchAlgorithm: AVAudioTimePitchAlgorithm?

The processing algorithm used to manage audio pitch for scaled audio edits.

struct AVAudioTimePitchAlgorithm

An algorithm used to set the audio pitch as the rate changes.

Relationships

Conforms To

See Also

Audio Mixing

class AVAudioMix

An object that manages the input parameters for mixing audio tracks.

class AVAudioMixInputParameters

An object that represents the parameters that you apply when adding an audio track to a mix.

class AVMutableAudioMix

An object that manages the input parameters for mixing audio tracks.