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


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

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

The BASS_BFX_APF type exposes the following members.


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

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.

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.


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