IrrKlang.NET

ISoundEffectControl.EnableDistortionSoundEffect Method (Single, Single, Single, Single, Single)

Enables the Distortion sound effect with default values. 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. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

[Visual Basic]
Overloads Public Function EnableDistortionSoundEffect( _
   ByVal fGain As Single, _
   ByVal fEdge As Single, _
   ByVal fPostEQCenterFrequency As Single, _
   ByVal fPostEQBandwidth As Single, _
   ByVal fPreLowpassCutoff As Single _
) As Boolean
[C#]
public bool EnableDistortionSoundEffect(
   float fGain,
   float fEdge,
   float fPostEQCenterFrequency,
   float fPostEQBandwidth,
   float fPreLowpassCutoff
);

Return Value

Returns true if successful.

See Also

ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableDistortionSoundEffect Overload List