IrrKlang.NET

ISoundEffectControl.EnableDistortionSoundEffectMethod(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.

[VisualBasic]
OverloadsPublicFunctionEnableDistortionSoundEffect( _
ByVal fGainAsSingle,_
ByVal fEdgeAsSingle,_
ByVal fPostEQCenterFrequencyAsSingle,_
ByVal fPostEQBandwidthAsSingle,_
ByVal fPreLowpassCutoffAsSingle_
)AsBoolean
[C#]
publicboolEnableDistortionSoundEffect(
floatfGain,
floatfEdge,
floatfPostEQCenterFrequency,
floatfPostEQBandwidth,
floatfPreLowpassCutoff
);

Return Value

Returns true if successful.

See Also

ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableDistortionSoundEffect Overload List