BASS.NET API for the Un4seen BASS Audio Library

Un4seen.Bass.AddOn.Fx Namespace

BASS.NET API for the Un4seen BASS Audio Library
This namespace contains all classes, delegates and enumerations to support the native bass_fx.dll. BASS_FX is an extension by Jobnik, providing several DSP functions, including tempo and pitch control.

All BASS_FX API calls are contained in the main class BassFx and have been implemented as static methods. So there is NO need to create an instance of the BassFx class!

All BASS_FX structures have been implemented as real classes (named in capital letters). This because they are much easier to use and reflect exactly what BASS_FX would expect. Those classes needs to be instantiated before their use.

Classes

  ClassDescription
Public classBASS_BFX_APF
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.
Public classBASS_BFX_AUTOWAH
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 Auto wah.
Public classBASS_BFX_BQF
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 BiQuad filter.
Public classBASS_BFX_CHORUS
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 Chorus.
Public classBASS_BFX_COMPRESSOR
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 Dynamic Range Compressor.
Public classBASS_BFX_COMPRESSOR2
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 Dynamic Range Compressor.
Public classBASS_BFX_DAMP
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 Dynamic amplification.
Public classBASS_BFX_DISTORTION
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 Distortion.
Public classBASS_BFX_ECHO
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 Echo.
Public classBASS_BFX_ECHO2
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 Echo 2.
Public classBASS_BFX_ECHO3
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 Echo 3.
Public classBASS_BFX_ECHO4
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 Echo 4.
Public classBASS_BFX_FLANGER
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.
Public classBASS_BFX_FREEVERB
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 Reverb.
Public classBASS_BFX_LPF
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 Low pass filter.
Public classBASS_BFX_MIX
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 Swap/Remap/Downmix.
Public classCode exampleBASS_BFX_PEAKEQ
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 Peaking equalizer.
Public classBASS_BFX_PHASER
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 Phaser.
Public classBASS_BFX_PITCHSHIFT
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 Pitch Shift using FFT.
Public classBASS_BFX_REVERB
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 Reverb.
Public classBASS_BFX_ROTATE
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 Rotate.
Public classBASS_BFX_VOLUME
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 Volume. (L/R for STEREO, L for MONO for both channels).
Public classCode exampleBASS_BFX_VOLUME_ENV
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 Volume Envelope.
Public classBassFx
BASS.NET API wrapper for BASS_FX.DLL

Requires: bass_fx.dll - DSP and Effect support Add-On - available @ www.un4seen.com.

Structures

  StructureDescription
Public structureBASS_BFX_ENV_NODE
Used within BASS_BFX_VOLUME_ENV to define one volume envelope node.
Delegates

  DelegateDescription
Public delegateBPMBEATPROC
User defined callback function, to get the Beat position in seconds.
Public delegateBPMPROC
User defined callback function, to auto get the BPM after each period of time in seconds.
Public delegateBPMPROGRESSPROC
User defined callback function, to get the bpm detection process in percents.
Enumerations

  EnumerationDescription
Public enumerationBASSBFXBQF
BASS_BFX BiQuad filters. Defines within the BASS_BFX_BQF structure which BiQuad filter should be used.
Public enumerationBASSFXBpm
Public enumerationBASSFXBpmTrans
BASS_FX BPM Translation options, to be used with BASS_FX_BPM_Translate(Int32, Single, BASSFXBpmTrans).
Public enumerationBASSFXChan
DSP channels flags.
Public enumerationBASSFXReverse
BASS_FX Reverse Playback directions, to be used with the BASS_ATTRIB_REVERSE_DIR attribute.