VisioForge Video Capture SDK (Delphi / ActiveX)
ContentsIndexHome
PreviousUpNext
TVFVideoCapture.Audio_Effects_DS_Compressor Method

Sets the parameters for the DS Compressor effect.

Pascal
procedure Audio_Effects_DS_Compressor(ID: Integer; Attack: Double; Gain: Double; PreDelay: Double; Ratio: Double; Release: Double; Threshold: Double);
C++
__fastcall Audio_Effects_DS_Compressor(int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
C#
public Audio_Effects_DS_Compressor(int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
Visual Basic
Public Sub Audio_Effects_DS_Compressor(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 ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
IDL
Audio_Effects_DS_Compressor(int ID, Double Attack, Double Gain, Double PreDelay, Double Ratio, Double Release, Double Threshold);
JavaScript
Audio_Effects_DS_Compressor
PHP
public Audio_Effects_DS_Compressor($ID, Double $Attack, Double $Gain, Double $PreDelay, Double $Ratio, Double $Release, Double $Threshold);
Parameters 
Description 
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) 2012. All rights reserved.
What do you think about this topic? Send feedback!