This repository contains a collection of digital biquad filters implemented in Python.
The filters are based off the C++ implementation, which can be found here.
For information on biquad filters, you can check out my website here.
To use any of the filters, just create an instance of the filter and process your data:
from biquads import LowPassFilter
import numpy as np
data_in = np.array([0.1, 0.2, 0.3, 0.4, 0.5])
lpf = LowPassFilter.create(
cutoff=1000.0,
sample_rate=44100,
q_factor=0.707
)
if lpf is not None:
data_out = lpf.process(data)- Generic Digital Biquad
- Low Pass
- High Pass
- Band Pass
- Notch
- All Pass
- Peaking EQ
- Low Shelf
- High Shelf