Class DSChorusAudioEffect
- Namespace
- VisioForge.Core.Types.X.AudioEffects
- Assembly
- VisioForge.Core.dll
DirectSound Chorus effect creates a voice-doubling effect by echoing the original sound with a slight delay and slightly modulating the delay of the echo using a Low-Frequency Oscillator (LFO).
public class DSChorusAudioEffect : BaseAudioEffect, ISharedAudioEffectXInheritance
Implements
Inherited Members
Remarks
Platform: Windows only (DirectX/DirectSound DSP)
Available in: Classic SDKs (VideoCaptureCore, MediaPlayerCore, VideoEditCore)
Effect Type: Modulation/Delay
The chorus effect creates the illusion of multiple voices or instruments playing in unison by adding delayed and pitch-modulated copies of the original signal. The LFO modulates the delay time to create the characteristic "swirling" sound of chorus.
Typical Applications:
- Thickening guitar or keyboard sounds
- Creating ensemble vocal effects
- Adding depth and width to mono sources
- Simulating multiple instrument sections
Parameters:
- Delay: 0-20.0 ms - Base delay time before modulation
- Depth: 0-100% - Amount of delay modulation (LFO depth)
- Feedback: -99 to +99% - Amount of output fed back to input (negative inverts phase)
- Frequency: 0-10 Hz - LFO modulation rate
- Phase: 0-4 phases - LFO phase offset for stereo width
- WaveformTriangle: Triangle/Sine - LFO waveform shape
- WetDryMix: 0-100% - Balance between processed (wet) and original (dry) signal
Cross-Platform Alternative: Use FlangerAudioEffect for similar modulation effects on all platforms.
Constructors
DSChorusAudioEffect(float, float, float, float, ChorusPhase, ChorusWaveForm, float)
Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.DSChorusAudioEffect class.
public DSChorusAudioEffect(float delay, float depth, float feedback, float frequency, ChorusPhase phase, ChorusWaveForm waveformTriangle, float wetDryMix)Parameters
delayfloat-
Specifies the delay of the filter (0 - 20.0).
depthfloat-
Specifies the depth of the filter (0 - 100.0).
feedbackfloat-
Specifies the feedback of the filter (-99.0 - 99.0).
frequencyfloat-
Specifies the frequency of the filter (0 - 10.0).
phaseChorusPhase-
Specifies the phase angle.
waveformTriangleChorusWaveForm-
Specifies the waveform type of the filter.
wetDryMixfloat-
Specifies the wet and dry mix (0 - 100.0).
Properties
Delay
Gets or sets the delay.
public float Delay { get; set; }Property Value
Depth
Gets or sets the depth.
public float Depth { get; set; }Property Value
Feedback
Gets or sets the feedback.
public float Feedback { get; set; }Property Value
Frequency
Gets or sets the frequency.
public float Frequency { get; set; }Property Value
Phase
Gets or sets the phase.
public ChorusPhase Phase { get; set; }Property Value
WaveformTriangle
Gets or sets the waveform triangle.
public ChorusWaveForm WaveformTriangle { get; set; }Property Value
WetDryMix
Gets or sets the wet dry mix value.
public float WetDryMix { get; set; }