- Source:
Interface implemented by all Equalizer filters. This interface implements one method which calculates the frequency response of the filter.
Methods
frequencyToGain(frequency) → {number}
- Source:
Calculates the frequency response of the filter, e.g. the effective change in gain applied by this filter to a signal of a certain frequency.
Parameters:
Name | Type | Description |
---|---|---|
frequency |
number | The frequency in Hz. |
Returns:
gain - The change in gain in dB.
- Type
- number