用于 NOTCH 滤波器的 BiquadFilterNode.Q [英] BiquadFilterNode.Q for the NOTCH filter

查看:21
本文介绍了用于 NOTCH 滤波器的 BiquadFilterNode.Q的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到关于 BiquadFilterNode.Q 值在您设置 BiquadFilterNode.type'notch'.实际上,陷波滤波器应该衰减一定频率范围内的信号,但 BiquadFilterNode.frequency 似乎控制频率范围的中心"和 Q 值据说可以控制频带的宽度".

I cannot find any documentation on how the BiquadFilterNode.Q value works if you set the BiquadFilterNode.type to be 'notch'. The notch filter should, in practice, attenuate signals within a range of frequencies, but BiquadFilterNode.frequency seems to control "the center of the range of frequencies" and the Q value is said to control "the width of the frequency band".

但是,没有关于将使用什么单位的信息.说,如果我想衰减频率在 300 Hz - 700 Hz 之间的信号,中心是 500 Hz,所以我将 frequency 设置为那个,但是 Q 的值是多少这个范围是正确的吗?

However, there is no info on what units would be used. Say, if I want to attenuate signals with frequencies between 300 Hz - 700 Hz, the center is 500 Hz so I set the frequency to be that, but what value of Q would be correct for this range?

推荐答案

从互联网上撤下这个但试试看:

Pulled this off the internet but try it out:

// fc = cutoff frequency
// f2 = upper cutoff frequency
// f1 = lower cutoff frequency 
Q = (f2 - f1) / fc;

关于 Q 因子的维基百科文章:Q Factor Wiki

Wikipedia article on Q factor: Q Factor Wiki

电子学习网站:质量系数计算器

这篇关于用于 NOTCH 滤波器的 BiquadFilterNode.Q的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆