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, ISharedAudioEffectXInheritance
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
startVolumeuint-
Volume level at the fade start time.
stopVolumeuint-
Volume level at the fade end time.
startTimeTimeSpan-
Time position when the fade begins.
stopTimeTimeSpan-
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
StartVolume
Gets or sets the volume level at the fade start time.
public uint StartVolume { get; set; }Property Value
StopTime
Gets or sets the time position when the fade effect completes.
public TimeSpan StopTime { get; set; }Property Value
StopVolume
Gets or sets the volume level at the fade end time.
public uint StopVolume { get; set; }