https://github.com/zirafa/rbj-eq.js
A javascript implementation of Robert Bristow-Johnson's EQ filters
https://github.com/zirafa/rbj-eq.js
Last synced: over 1 year ago
JSON representation
A javascript implementation of Robert Bristow-Johnson's EQ filters
- Host: GitHub
- URL: https://github.com/zirafa/rbj-eq.js
- Owner: zirafa
- License: mit
- Created: 2023-05-16T05:35:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-16T05:51:08.000Z (about 3 years ago)
- Last Synced: 2025-01-24T07:45:15.342Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rbj-eq.js
A simple javascript implementation of Robert Bristow-Johnson's EQ based on his [Audio EQ Cookbook](https://webaudio.github.io/Audio-EQ-Cookbook/Audio-EQ-Cookbook.txt)
https://www.w3.org/TR/audio-eq-cookbook/
## Usage
1) Use the ```calcFilterCoefficients``` function to generate filter coefficients for a desired filter, based on q OR bandwidth. If a value for bandwidth is passed in, the q argument is ignored.
2) Use the ```filterGain``` function to get the gain in dB for a given frequency for a filter (magnitude response)