Skip to main content

A simple package for creating biquad filters

Project description

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

Project details


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.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biquad_filters-0.1.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file biquad_filters-0.1.2.tar.gz.

File metadata

  • Download URL: biquad_filters-0.1.2.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

Hashes for biquad_filters-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6eda0b51b615abe7ea3e3535abd02c41f08e17e03d4e30bd213cb5c78801b646
MD5 bbec1210845a3402f480da3ce857363a
BLAKE2b-256 ee01bdfeba44657d11f9db42edda031d33e5757495eb2d3453d7040625e44181

See more details on using hashes here.

File details

Details for the file biquad_filters-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: biquad_filters-0.1.2-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

Hashes for biquad_filters-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c03a92379a7919103ce96af9d424a1dd97911f2459fc1e5613445dd904a1c9
MD5 7cab6d9caa6a8a87a3edcab672b95657
BLAKE2b-256 561851ddc98f2bd53c5857d8e27a0230490c44196e91e5698d7a57bd9162b3a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page