Media Player SDK
ContentsIndexHome
PreviousUpNext
TVFMediaPlayer.Audio_Effects_DS_Distortion Method

Sets the parameters for the DS Distortion effect.

Pascal
procedure Audio_Effects_DS_Distortion(Stream: Integer; ID: Integer; Edge: Double; Gain: Double; PostEQBandwidth: Double; PostEQCenterFrequency: Double; PreLowpassCutoff: Double);
C++
__fastcall Audio_Effects_DS_Distortion(int Stream, int ID, Double Edge, Double Gain, Double PostEQBandwidth, Double PostEQCenterFrequency, Double PreLowpassCutoff);
C#
public Audio_Effects_DS_Distortion(int Stream, int ID, Double Edge, Double Gain, Double PostEQBandwidth, Double PostEQCenterFrequency, Double PreLowpassCutoff);
Visual Basic
Public Sub Audio_Effects_DS_Distortion(Stream As Integer, ID As Integer, Edge As Double, Gain As Double, PostEQBandwidth As Double, PostEQCenterFrequency As Double, PreLowpassCutoff As Double)
Java
public Audio_Effects_DS_Distortion(int Stream, int ID, Double Edge, Double Gain, Double PostEQBandwidth, Double PostEQCenterFrequency, Double PreLowpassCutoff);
IDL
Audio_Effects_DS_Distortion(int Stream, int ID, Double Edge, Double Gain, Double PostEQBandwidth, Double PostEQCenterFrequency, Double PreLowpassCutoff);
JavaScript
Audio_Effects_DS_Distortion
Parameters 
Description 
Stream: Integer 
Stream ID. 
ID: Integer 
Effect ID. 
Edge: Double 
Specifies the edge of the filter (0.0 - 100.0). 
Gain: Double 
Specifies the gain of the filter (-60.0 - 0). 
PostEQBandwidth: Double 
Specifies the bandwidth of the equalizer (100.0 - 8000.0). 
PostEQCenterFrequency: Double 
Specifies the center frequency of the distortion equalizer (100.0 - 8000.0). 
PreLowpassCutoff: Double 
Specifies the low pass cutoff of the filter (100.0 - 8000.0). 

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.

Copyright (c) 2013. All rights reserved.
What do you think about this topic? Send feedback!