BASS.NET API for the Un4seen BASS Audio LibraryBASS_BFX_PHASER 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 Phaser.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.FxBASS_BFX_PHASER

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

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public sealed class BASS_BFX_PHASER

The BASS_BFX_PHASER type exposes the following members.

Constructors

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

  NameDescription
Public methodPreset_BasicPhase
Sets the instance members to a preset.
Public methodPreset_Default
Sets the instance members to a preset.
Public methodPreset_FastPhase
Sets the instance members to a preset.
Public methodPreset_InvertWithInvertFeedback
Sets the instance members to a preset.
Public methodPreset_MediumPhase
Sets the instance members to a preset.
Public methodPreset_PhaseShift
Sets the instance members to a preset.
Public methodPreset_PhaseWithFeedback
Sets the instance members to a preset.
Public methodPreset_SlowInvertPhaseShiftWithFeedback
Sets the instance members to a preset.
Public methodPreset_TremoloWah
Sets the instance members to a preset.
Top
Fields

  NameDescription
Public fieldfDryMix
Dry (unaffected) signal mix (-2...+2). Default = 0.
Public fieldfFeedback
Feedback (-1...+1). Default = 0.
Public fieldfFreq
Base frequency of sweep range (0<...1000). Default = 0.
Public fieldfRange
Sweep range inoctaves (0<...<10). Default = 0.
Public fieldfRate
Rate of sweep in cycles per second (0<...<10). Default = 0.
Public fieldfWetMix
Wet (affected) signal mix (-2...+2). 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

Phasers use an internal low frequency oscillator to automatically move notches in the frequency response up and down the frequency spectrum. An important difference between phasing and flanging is that phasers space these notches evenly across the frequency spectrum, while the notches in flanging and chorus are harmonically (musically) related. You don't hear the notches as such (because they are the frequencies that are removed). What you hear is the resulting frequency peaks between these notches. Phasing works by mixing the original signal with one that is phase shifted over the frequency spectrum. For example, a four stage phaser signal (such as this) could be from 0 degrees at 100Hz, shifted to 720 degrees at 5Khz (these extremes are not quite possible practically, but are near enough to explain the effect). This is how the term phase shifter comes about. A 4 stage phaser has 2 notches with bass response, a central peak, and treble response. By using resonance to enhance the central peak, you can get a sound similar to an automatic wah. Using a phaser with lots of stages and setting the resonance high can give a sound similar to flanging, although they are really quite different.

The fDryMix is the volume of input signal and the fWetMix is the volume of delayed signal. The fFeedback sets feedback of phaser. The fRate and fRange control how fast and far the frequency notches move. The fRate is the rate of sweep in cycles per second, fRange is the width of sweep in octaves. And the the fFreq is the base frequency of sweep.

See Also

Reference