BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_COMPRESSOR2 Constructor (Single, Single, Single, Single, Single, BASSFXChan)

BASS.NET API for the Un4seen BASS Audio Library
Constructor already setting the members.

Namespace:  Un4seen.Bass.AddOn.Fx
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public BASS_BFX_COMPRESSOR2(
	float Gain,
	float Threshold,
	float Ratio,
	float Attack,
	float Release,
	BASSFXChan chans
)

Parameters

Gain
Type: SystemSingle
Output gain in dB of signal after compression, in the range from -60 to 60.
Threshold
Type: SystemSingle
Point in dB at which compression begins, in decibels, in the range from -60 to 0.
Ratio
Type: SystemSingle
Compression ratio, in the range from 1 to 100.
Attack
Type: SystemSingle
Time in ms before compression reaches its full value, in the range from 0.01 to 500.
Release
Type: SystemSingle
Speed in ms at which compression is stopped after input drops below fThreshold, in the range from 50 to 3000.
chans
Type: Un4seen.Bass.AddOn.FxBASSFXChan
The channel control flag defining on which channels the effect should be applied to (a combinbation of BASSFXChan).
See Also

Reference