Table of Contents

Class VFAudioFade

Namespace
VisioForge.Core.VideoEdit
Assembly
VisioForge.Core.dll

Represents an audio volume fade effect with configurable start and end points.

public class VFAudioFade

Inheritance

Inherited Members

Remarks

This class defines a volume fade transition that gradually changes audio volume from a start value to an end value over a specified time range. Volume values are typically specified as a percentage (0-100).

Constructors

VFAudioFade()

Initializes a new instance of the VisioForge.Core.VideoEdit.VFAudioFade class with default values.

public VFAudioFade()

Remarks

Default values:

  • Track: 0 (first audio track)
  • All time and volume values: 0 You must set appropriate values before using the fade effect.

Properties

StartTime

Gets or sets the start time of the fade effect in 100-nanosecond units.

public long StartTime { get; set; }

Property Value

long

Remarks

The start time determines when the fade begins in the audio track timeline. Time is specified in DirectShow reference time units (100ns ticks).

StartValue

Gets or sets the initial volume level at the start of the fade (0-100).

public int StartValue { get; set; }

Property Value

int

Remarks

A value of 0 represents silence, 100 represents maximum volume. For fade-in effects, typically set to 0. For fade-out effects, typically set to 100.

StopTime

Gets or sets the end time of the fade effect in 100-nanosecond units.

public long StopTime { get; set; }

Property Value

long

Remarks

The stop time determines when the fade completes in the audio track timeline. The duration of the fade is calculated as StopTime - StartTime.

StopValue

Gets or sets the final volume level at the end of the fade (0-100).

public int StopValue { get; set; }

Property Value

int

Remarks

A value of 0 represents silence, 100 represents maximum volume. For fade-in effects, typically set to 100. For fade-out effects, typically set to 0.

Track

Gets or sets the audio track index to which this fade effect applies.

public int Track { get; set; }

Property Value

int

Remarks

Track indices are zero-based. The track value determines which audio stream in the timeline receives the fade effect.