Media Player SDK
ContentsIndexHome
PreviousUpNext
TVFMediaPlayer.Audio_Effects_DS_Compressor Method

Sets the parameters for the DS Compressor effect.

Pascal
procedure Audio_Effects_DS_Compressor(Stream: Integer; ID: Integer; Attack: Double; Gain: Double; PreDelay: Double; Ratio: Double; Release: Double; Threshold: Double);
C++
__fastcall Audio_Effects_DS_Compressor(int Stream, int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
C#
public Audio_Effects_DS_Compressor(int Stream, int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
Visual Basic
Public Sub Audio_Effects_DS_Compressor(Stream As Integer, ID As Integer, Attack As Double, Gain As Double, PreDelay As Double, Ratio As Double, Release As Double, Threshold As Double)
Java
public Audio_Effects_DS_Compressor(int Stream, int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
IDL
Audio_Effects_DS_Compressor(int Stream, int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
JavaScript
Audio_Effects_DS_Compressor
Parameters 
Description 
Stream: Integer 
Stream ID. 
ID: Integer 
Effect ID. 
Attack: Double 
Specifies the attack time in ms (0.01 - 500). 
Gain: Double 
Specifies the gain of the filter (-60.0 - 60.0). 
PreDelay: Double 
Specifies the pre-delay of the filter (0.0 - 4.0) 
Ratio: Double 
Specifies the ratio of the filter (1.0 - 100.0). 
Release: Double 
Specifies the release time in ms (50.0 - 3000.0) 
Threshold: Double 
Specifies the threshold of the filter (-60.0 - 0.0) 

Compression is a reduction in the fluctuation of a signal above a certain amplitude.

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