Enum DSFlangerPhase
- Namespace
- VisioForge.Core.Types.AudioEffects
- Assembly
- VisioForge.Core.dll
Defines the phase relationship between the original (dry) signal and the delayed (wet) signal in a flanger effect.
public enum DSFlangerPhaseFields
PhaseNeg180 = 0-
Phase offset of -180 degrees. The LFO starts at its most negative position, creating the maximum initial delay. This produces deep initial notches in the frequency spectrum and a pronounced downward sweep at the start.
PhaseNeg90 = 1-
Phase offset of -90 degrees. The LFO starts at a negative quarter-cycle position. This creates a moderate initial delay with notches starting in the lower-mid frequency range.
PhaseZero = 2-
Phase offset of 0 degrees. The LFO starts at its center (neutral) position. This is the most common setting, providing a balanced flanging effect that sweeps equally in both directions.
Phase90 = 3-
Phase offset of 90 degrees. The LFO starts at a positive quarter-cycle position. This creates a moderate initial advance with notches starting in the upper-mid frequency range.
Phase180 = 4-
Phase offset of 180 degrees. The LFO starts at its most positive position, creating the minimum initial delay. This produces shallow initial notches and a pronounced upward sweep at the start.
Remarks
The flanger effect is created by mixing an audio signal with a slightly delayed copy of itself, where the delay time is varied continuously using a low-frequency oscillator (LFO). The phase parameter determines the initial phase offset of this LFO, which affects how the comb filtering sweeps through the frequency spectrum.
Phase values represent the angular offset in degrees:
- Negative phases (-180°, -90°) start the LFO cycle below the center position, initially creating notches at lower frequencies
- Zero phase (0°) starts the LFO at its center position
- Positive phases (90°, 180°) start the LFO cycle above the center position, initially creating notches at higher frequencies
The choice of phase affects the initial character of the flanging effect and how it evolves over time. Different phase settings can create subtle variations in the "whooshing" or "jet plane" sound characteristic of flangers.