EqBand<T>
Models & Types · AiDotNet.Audio.Effects
Represents a single EQ band with biquad filter.
Constructors
| Constructor |
Summary |
EqBand(INumericOperations<T> numOps, int sampleRate, double frequency, double gainDb, double q, EqFilterType filterType) |
Creates a new EQ band. |
Properties
| Property |
Summary |
EqFilterType FilterType { get; set; } |
Filter type. |
double Frequency { get; set; } |
Center/corner frequency in Hz. |
double GainDb { get; set; } |
Gain in dB. |
double Q { get; set; } |
Q factor (bandwidth). |
Methods
| Method |
Summary |
T Process(T input) |
Processes a sample through the biquad filter. |
void Reset() |
Resets the filter state. |
void SetParameters(double frequency, double gainDb, double q) |
Sets the band parameters and recalculates coefficients. |