pyFDN.design_geq#

pyFDN.design_geq(target_g, fs=48000.0)[source]#

Design a 10-band graphic EQ matching a target magnitude response.

The EQ has 8 peaking bandpass bands plus low and high shelving filters, plus a flat-gain section (11 sections total).

Parameters:
  • target_g (ndarray) – Target magnitude response in dB at 10 frequency bands (DC=1 Hz, 63, 125, 250, 500, 1k, 2k, 4k, 8k Hz, Nyquist). Shape (10,).

  • fs (float) – Sampling frequency in Hz (default 48000).

Return type:

tuple[ndarray, ndarray]

Returns:

(sos, target_f) where

  • sos — single SOS cascade of shape (n_sections, 6) (n_sections = 11).

  • target_f — 10-point frequency grid used for the target.