Table of Contents

Class PhaserAudioEffect

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

Classic phaser effect that creates sweeping, swirling tones through phase shifting. Modulates the phase of audio frequencies using an LFO (Low Frequency Oscillator). Popular in rock and electronic music for its distinctive "swooshing" sound. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.

public class PhaserAudioEffect : BaseAudioEffect, ISharedAudioEffectX

Inheritance

Implements

Inherited Members

Remarks

LFO (Low Frequency Oscillator) controls the speed of the phasing sweep.

More stages create a more pronounced, dramatic phasing effect.

Feedback parameter determines how much processed signal is fed back into the input.

DryWetRatio controls the balance between original and processed audio.

Constructors

PhaserAudioEffect(byte, byte, byte, float, byte, float)

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

public PhaserAudioEffect(byte depth, byte dryWetRatio, byte feedback, float frequency, byte stages, float startPhase)

Parameters

depth byte

Phaser sweep depth. Valid range: 0-255. Higher values create more dramatic phase shifts.

dryWetRatio byte

Dry/wet mix ratio. Valid range: 0-255. 0 = completely dry (original), 255 = completely wet (effected).

feedback byte

Feedback amount. Valid range: -100 to 100. 0 = no feedback, positive = resonant peaks, negative = inverted feedback.

frequency float

LFO frequency in Hz. Controls the speed of the phasing sweep. Typical values: 0.1 to 5 Hz.

stages byte

Number of phaser stages. Recommended range: 2-24. More stages = more pronounced effect.

startPhase float

LFO start phase in radians. Used for stereo phasing effects to create width.

Properties

Depth

Gets or sets the phaser sweep depth.

public byte Depth { get; set; }

Property Value

byte

DryWetRatio

Gets or sets the dry/wet mix ratio.

public byte DryWetRatio { get; set; }

Property Value

byte

Feedback

Gets or sets the feedback amount for resonance.

public byte Feedback { get; set; }

Property Value

byte

Frequency

Gets or sets the LFO (Low Frequency Oscillator) frequency that controls sweep speed.

public float Frequency { get; set; }

Property Value

float

Stages

Gets or sets the number of phaser stages (all-pass filter stages).

public byte Stages { get; set; }

Property Value

byte

StartPhase

Gets or sets the LFO start phase in radians for stereo width.

public float StartPhase { get; set; }

Property Value

float

See Also