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, ISharedAudioEffectXInheritance
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
depthbyte-
Phaser sweep depth. Valid range: 0-255. Higher values create more dramatic phase shifts.
dryWetRatiobyte-
Dry/wet mix ratio. Valid range: 0-255. 0 = completely dry (original), 255 = completely wet (effected).
feedbackbyte-
Feedback amount. Valid range: -100 to 100. 0 = no feedback, positive = resonant peaks, negative = inverted feedback.
frequencyfloat-
LFO frequency in Hz. Controls the speed of the phasing sweep. Typical values: 0.1 to 5 Hz.
stagesbyte-
Number of phaser stages. Recommended range: 2-24. More stages = more pronounced effect.
startPhasefloat-
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
DryWetRatio
Gets or sets the dry/wet mix ratio.
public byte DryWetRatio { get; set; }Property Value
Feedback
Gets or sets the feedback amount for resonance.
public byte Feedback { get; set; }Property Value
Frequency
Gets or sets the LFO (Low Frequency Oscillator) frequency that controls sweep speed.
public float Frequency { get; set; }Property Value
Stages
Gets or sets the number of phaser stages (all-pass filter stages).
public byte Stages { get; set; }Property Value
StartPhase
Gets or sets the LFO start phase in radians for stereo width.
public float StartPhase { get; set; }