BASS_BFX_PEAKEQ

BASS FX

BASS_BFX_PEAKEQ structure

Used with BASS_FXGetParameters and BASS_FXSetParameters to retrieve and set the parameters of a peaking eq effect (BiQuad filter).

typedef struct{
    int lBand; 
    float fBandwidth;
    float fQ;
    float fCenter;
    float fGain;
    int lChannel;
} BASS_BFX_PEAKEQ;

Members

lBand Band number [0...............n]
fBandwidth In octaves - fQ is not in use (Bandwidth has a priority over fQ) [0.1...........<10]
fQ Quality Factor, the EE kinda definition (linear) (if Bandwidth is not in use) [0...............1]
fCenter Center frequency, in Hz [1Hz..<info.freq/2]
fGain Gain, in dB [-15dB...0...+15dB](can be above/below these limits)
lChannel The affected channels using BASS_BFX_CHANxxx flags

Info
This is an implementation of BiQuad Peaking Equalizer filter.
A Peaking Equalizer boosts (or reduces) at the set frequency (called the "center frequency") and a boosts band of frequencies around the center frequency by a similar amount.

Good explanation can be read here: http://en.wikiaudio.org/Equalization_filter

Remarks
The "lBand" parameter needs to be set before calling BASS_FXGetParameters function.

See also
BASS_ChannelSetFXBASS_FX_BFX_BQF