BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_FLANGER 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 Flanger.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.FxBASS_BFX_FLANGER

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_FLANGER

The BASS_BFX_FLANGER type exposes the following members.

Constructors

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

  NameDescription
Public methodPreset_Default
Sets the instance members to a preset (WetDry=1, Speed=0.012).
Top
Fields

  NameDescription
Public fieldfSpeed
Flanger speed in seconds (0...0.09, [0ms - 90ms]). Default 0.01.
Public fieldfWetDry
Ratio of wet (processed) signal to dry (unprocessed) signal (0...1...n, linear, default=1).
Public fieldlChannel
A BASSFXChan flag to define on which channels to apply the effect.

Default: -1 (BASS_BFX_CHANALL) - all channels.

Top
Remarks

Flangers mix a varying delayed signal (usually about 5ms [0.005] to 15ms [0.015]) with the original to produce a series of notches in the frequency response. The important difference between flanging and phasing is that a flanger produces a large number of notches that are harmonically (musically) related, while a phaser produces a small number of notches that are evenly spread across the frequency spectrum. With high resonance, you get the "jet plane" effect.
See Also

Reference