Digital Biquad Filters
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.
Brief:
For information on biquad filters, you can check out my website here.
Usage:
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)
Supported Filters:
- Generic Digital Biquad
- Low Pass
- High Pass
- Band Pass
- Notch
- All Pass
- Peaking EQ
- Low Shelf
- High Shelf
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
biquad_filters-0.1.3.tar.gz
(8.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biquad_filters-0.1.3.tar.gz.
File metadata
- Download URL: biquad_filters-0.1.3.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcf09b1ae11be617731960e18c9fb4d93502becbf86afb0faa7525a6b204dab6
|
|
| MD5 |
472e72bac18e014bcb5e43788125c222
|
|
| BLAKE2b-256 |
6eda7f89de5b2a9f8ec3afcce106e282b0c2a60e4fef6451ba308738309654bd
|
File details
Details for the file biquad_filters-0.1.3-py3-none-any.whl.
File metadata
- Download URL: biquad_filters-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f44b000a4eaf076daa51d8dfe129cc36fd51150bbb5d2c5f028c9dbe17781f9e
|
|
| MD5 |
dedcc64bdf4b3e2e19587d01a2ec99fd
|
|
| BLAKE2b-256 |
cf539a9f131ff9be95744eed4c06037ab27baaaf988911c4638f9dae4988376b
|