BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_APF Class

BASS.NET API for the Un4seen BASS Audio Library
Used with BASS_ChannelSetFX(Int32, BASSFXType, Int32), BASS_FXSetParameters(Int32, IntPtr) and BASS_FXGetParameters(Int32, IntPtr) to retrieve and set the parameters of the DSP effect All pass filter.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.FxBASS_BFX_APF

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

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public sealed class BASS_BFX_APF

The BASS_BFX_APF type exposes the following members.

Constructors

  NameDescription
Public methodBASS_BFX_APF
Default constructor
Public methodBASS_BFX_APF(Single, Single)
Constructor already setting the members
Public methodBASS_BFX_APF(Single, Single, BASSFXChan)
Constructor already setting the members
Top
Methods

  NameDescription
Public methodPreset_Default
Sets the instance members to a preset.
Public methodPreset_LongReverberation
Sets the instance members to a preset.
Public methodPreset_RobotVoice
Sets the instance members to a preset.
Public methodPreset_SmallRever
Sets the instance members to a preset.
Top
Fields

  NameDescription
Public fieldfDelay
Delay in seconds (0...6). Default = 0.
Public fieldfGain
Gain of the all pass filter (-1...+1). Default = 0.
Public fieldlChannel
A BASSFXChan flag to define on which channels to apply the effect.

Default: -1 (BASS_BFX_CHANALL) - all channels.

Top
Remarks

The allpass filter has the unique property that it passes all frequencies equally. This property makes it useful in reverberator design because it increases echo density while reducing signal coloration (an allpass filter is NOT transparent to transient signals, as it does have a phase response). The structure of an allpass filter is similar to the comb filter, but it contains an additional feedforward path. In reverb applications, the delay used in an allpass filter is generally measured in milliseconds. This keeps the 'reflections' spaced apart in a similar fashion to a room's impulse response.

The fDelay sets delay for all pass filter. The fGain controls the gain of all pass filter.

See Also

Reference