priya-sundaram-dev 70b9e2fb35 Clean up the audio_filters directory (#15087)
* Clean up the audio_filters directory

- Restore equal_loudness_filter.py: replace the third-party 'yulewalker'
  dependency with a dependency-free 'yulewalk' implementation (numpy + scipy
  only, both already project dependencies) so the filter works again.
- Fix two bugs in iir_filter.set_coefficients: the a0-omitted branch never
  triggered, and the b_coeffs length error reported len(a_coeffs).
- Add doctests covering valid and erroneous inputs (coefficient-length errors,
  yulewalk input validation).
- Add Wikipedia URLs to the docstrings that were missing them.
- Add two new RBJ Audio EQ Cookbook filters: make_notch and make_bandpass_peak.
- Rewrite audio_filters/README.md to document every file and filter.

* audio_filters: clarify make_notch, document biquad notation, tighten set_coefficients guard

- Add a shared notation guide to butterworth_filter so the single-letter
  RBJ-cookbook names (w0/alpha/a0..a2/b0..b2) are self-explanatory across
  every filter instead of diverging in one function.
- Comment make_notch's feed-forward/feed-back sections in plain English.
- set_coefficients only fills the optional a_0 when exactly one coefficient
  is missing, so genuinely too-short inputs raise with their real length
  (new regression doctest).
2026-08-27 13:13:49 +02:00
2024-09-30 23:01:15 +02:00
2025-07-06 01:35:29 +03:00
2023-10-03 14:47:10 +05:30
2022-07-23 07:56:59 +05:30
2025-08-30 13:11:57 +03:00

The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Discord chat Gitter chat
GitHub Workflow Status pre-commit code style: black

All algorithms implemented in Python - for education 📚

Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.

🚀 Getting Started

📋 Read through our Contribution Guidelines before you contribute.

🌐 Community Channels

We are on Discord and Gitter! Community channels are a great way for you to ask questions and get help. Please join us!

📜 List of Algorithms

See our directory for easier navigation and a better overview of the project.

Languages
Python 99.8%
Shell 0.2%