Table of Contents

Class FadeAudioEffect

Namespace
VisioForge.Core.Types.X.AudioEffects
Assembly
VisioForge.Core.dll

Creates smooth volume transitions (fade-in/fade-out) over specified time periods. Gradually changes volume between two levels across a defined time range for professional audio transitions. Essential for smooth intro/outro effects and preventing audio pops or clicks. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.

public class FadeAudioEffect : BaseAudioEffect, ISharedAudioEffectX

Inheritance

Implements

Inherited Members

Remarks

Fade-in: Low start volume to higher stop volume.

Fade-out: High start volume to lower stop volume.

Can create custom fade curves by adjusting start/stop values.

Time range defines when the fade begins and ends in the audio stream.

Constructors

FadeAudioEffect(uint, uint, TimeSpan, TimeSpan)

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.FadeAudioEffect class.

public FadeAudioEffect(uint startVolume, uint stopVolume, TimeSpan startTime, TimeSpan stopTime)

Parameters

startVolume uint

Volume level at the fade start time.

stopVolume uint

Volume level at the fade end time.

startTime TimeSpan

Time position when the fade begins.

stopTime TimeSpan

Time position when the fade completes.

Properties

StartTime

Gets or sets the time position when the fade effect begins.

public TimeSpan StartTime { get; set; }

Property Value

TimeSpan

StartVolume

Gets or sets the volume level at the fade start time.

public uint StartVolume { get; set; }

Property Value

uint

StopTime

Gets or sets the time position when the fade effect completes.

public TimeSpan StopTime { get; set; }

Property Value

TimeSpan

StopVolume

Gets or sets the volume level at the fade end time.

public uint StopVolume { get; set; }

Property Value

uint

See Also