Class DSDistortionAudioEffect
Distortion is achieved by adding harmonics to the signal in such a way that, as the level increases, the top of the waveform becomes squared off or clipped.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEffects
Assembly: VisioForge.Core.dll
Syntax
public class DSDistortionAudioEffect : BaseAudioEffect, ISharedAudioEffectX
Constructors
DSDistortionAudioEffect(float, float, float, float, float)
Initializes a new instance of the DSDistortionAudioEffect class.
Declaration
public DSDistortionAudioEffect(float edge, float gain, float postEQBandwidth, float postEQCenterFrequency, float preLowpassCutOff)
Parameters
Type | Name | Description |
---|---|---|
float | edge | Specifies the edge of the filter (0.0 - 100.0). |
float | gain | Specifies the gain of the filter (-60.0 - 0). |
float | postEQBandwidth | Specifies the bandwidth of the equalizer (100.0 - 8000.0). |
float | postEQCenterFrequency | Specifies the center frequency of the distortion equalizer (100.0 - 8000.0). |
float | preLowpassCutOff | Specifies the low pass cutoff of the filter (100.0 - 8000.0). |
Properties
Edge
Gets or sets edge.
Declaration
public float Edge { get; set; }
Property Value
Type | Description |
---|---|
float | The edge. |
Gain
Gets or sets gain.
Declaration
public float Gain { get; set; }
Property Value
Type | Description |
---|---|
float | The gain. |
PostEQBandwidth
Gets or sets post EQ bandwidth.
Declaration
public float PostEQBandwidth { get; set; }
Property Value
Type | Description |
---|---|
float | The post eq bandwidth. |
PostEQCenterFrequency
Gets or sets post EQ center frequency.
Declaration
public float PostEQCenterFrequency { get; set; }
Property Value
Type | Description |
---|---|
float | The post eq center frequency. |
PreLowpassCutOff
Gets or sets pre-lowpass cut-off frequency.
Declaration
public float PreLowpassCutOff { get; set; }
Property Value
Type | Description |
---|---|
float | The pre lowpass cut off. |