FIRconv
Python implementations of Finite Impulse Response (FIR) filters for real-time convolutions.
The algorithms are mainly (but not strictly) the ones described in WEFERS, Frank. Partitioned convolution algorithms for real-time auralization. Logos Verlag Berlin GmbH, 2015. found here.
Current algorithms
- Overlap-add (OLA);
- Overlap-save (OLS);
- Uniformily Partitioned Overlap-Save (UPOLS) (generalized version)
Installation
Use pip to install FIRconv:
$ pip install FIRconv
Getting started
Bellow there's a pseudo-code showing how to setup a basic use of FIRconv for real time convolutions.
from FIRconv import FIRfilter
import numpy as np
# Initialize FIR filter
bufferSize = 2**10
method = 'upols'
FIRfilter(method, bufferSize, h=IR)
while True:
output = FIRfilter.process(audio)
play(output)
- For more in-depth examples have a look at testFIR.py or Algorithms_validationpy
Collaborations are more than welcome!
Metadata
Release files for FIRconv 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FIRconv-0.0.3.tar.gz | 8.2 kB | Without provenance | Details for FIRconv-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FIRconv-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for FIRconv-0.0.3-py3-none-any.whl |
Total release size: 16.5 kB
Release files / FIRconv-0.0.3.tar.gz
| Download URL | FIRconv-0.0.3.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ca29a274aca37b907d917e895ee04182778b39aa83830c6b90c2c77e9f5e92e
|
|
BLAKE2b-256 checksum How to use checksums |
83e4f2e2d5d8728d16761b1bed6cd670a3926e98ff51f9caf3f38b3a62d35e08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / FIRconv-0.0.3-py3-none-any.whl
| Download URL | FIRconv-0.0.3-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b567f83561e0d46ef340cf20468b29e2185e18d9311d13079e788946672298ec
|
|
BLAKE2b-256 checksum How to use checksums |
b53ea526931dd2bdeb3e572b0c6df23d1fab2fa43fc9b105a8adec0d8b45e144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Security for FIRconv 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.