An open API service indexing awesome lists of open source software.

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

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)