A zero dependency Python ITU-R 468 noise weighting filter (1 kHz and 2 kHz)
This project consists of a sole function named r468()
. The function takes a frequency value and returns a weighted gain value. For weightening, the ITU-R BS.468-4 standard and the SMPTE RP 2054:2010 recommended practice are followed.
The math for this project is taken from Wikipedia (as of 2019-08-08):
pip install itu-r-468-weighting
More infos on the project page at PyPI.
from itu_r_468_weighting.filter import r468
r468(1000, "1khz", "db") # returns gain in dB
r468(1000, "2khz", "db") # returns gain in dB
r468(1000, "1khz", "factor") # returns gain factor
r468(1000, "2khz", "factor") # returns gain factor
See docstring of function r468()
in itu_r_468_weighting/filter.py
or create and read the docs from source in docs/
or read them online at readthedocs.io.
See CONTRIBUTING.md file.
This project is hosted on GitHub.