Table of Contents

Class FlangerAudioEffect

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

Flanger audio effect creates a sweeping, "jet plane" sound by mixing the audio signal with a delayed copy of itself. The delay time is modulated by a low-frequency oscillator (LFO), creating the characteristic swooshing effect. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.

public class FlangerAudioEffect : BaseAudioEffect, ISharedAudioEffectX

Inheritance

Implements

Inherited Members

Remarks

GStreamer element: audioflanger (custom implementation) The flanger effect is created by:

  1. Delaying the audio signal by a time-varying amount
  2. The delay time oscillates at the specified frequency
  3. The delayed signal can be phase-inverted before mixing for different tonal characteristics Typical delay times: 1-10ms, Typical frequency: 0.1-2 Hz

Constructors

FlangerAudioEffect(TimeSpan, float, bool)

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

public FlangerAudioEffect(TimeSpan delay, float frequency, bool phaseInvert)

Parameters

delay TimeSpan

The base delay time. Typical range: 1-10 milliseconds. This determines the depth of the flanger effect.

frequency float

The LFO (Low Frequency Oscillator) rate that modulates the delay. Typical range: 0.1-2 Hz. Higher values create faster sweeps.

phaseInvert bool

If true, inverts the phase of the delayed signal before mixing, creating a different tonal character (often more hollow/resonant).

Properties

Delay

Gets or sets the base delay time that is modulated to create the flanger effect. Typical range: 1-10 milliseconds. Shorter delays create sharper, more metallic sounds. Longer delays create deeper, more pronounced sweeps.

public TimeSpan Delay { get; set; }

Property Value

TimeSpan

Frequency

Gets or sets the frequency of the Low Frequency Oscillator (LFO) that modulates the delay time. Typical range: 0.1-2 Hz. Lower values (0.1-0.5 Hz) create slow, sweeping effects. Higher values (1-2 Hz) create faster, more vibrato-like modulation.

public float Frequency { get; set; }

Property Value

float

PhaseInvert

Gets or sets whether the delayed signal should have its phase inverted before mixing with the original. When true, creates a more hollow, resonant character with notch filtering effects. When false, creates a more subtle, chorus-like effect with peak filtering.

public bool PhaseInvert { get; set; }

Property Value

bool

See Also