Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biquad: Bandpass filter #428

Closed
rtoy opened this issue Nov 12, 2014 · 0 comments
Closed

Biquad: Bandpass filter #428

rtoy opened this issue Nov 12, 2014 · 0 comments

Comments

@rtoy
Copy link
Member

rtoy commented Nov 12, 2014

A follow-up of #419, for the banpass filter.

Blink uses

alpha = sin(w0) / (2 * Q);
k = cos(w0);

b0 = alpha;
b1 = 0;
b2 = -alpha;
a0 = 1 + alpha;
a1 = -2 * k;
a2 = 1 - alpha;

This has exactly the same form as the cookbook, if alpha = a_BW. But alpha here is the same as the cookbook's a_Q, not a_BW.

@mdjp mdjp modified the milestone: Uncommitted May 14, 2015
@joeberkovitz joeberkovitz modified the milestones: Uncommitted, Web Audio V1 Jun 1, 2015
rtoy pushed a commit to rtoy/web-audio-api that referenced this issue Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants