Bass / Treble Shelving Filter

版本 1.0.0.0 (1.8 KB) 作者: Jeff Tackett
Generates coefficients for a 2nd order IIR digital filter
3.9K 次下载
更新时间 2007/9/26

查看许可证

Derive coefficients for a shelving filter with a given amplitude and cutoff frequency. All coefficients are calculated as described in Udo
Zolzer's DAFX book (p. 50 -55).

Usage: [B,A] = shelving(G, Fc, Fs, Q, type);

G is the logrithmic gain (in dB)
FC is the center frequency
Fs is the sampling rate
Q adjusts the slope be replacing the sqrt(2) term
type is a character string defining filter type
Choices are: 'Base_Shelf' or 'Treble_Shelf'

Typically this filter is used for multi-band equalization of audio. For example a 3-band equalizer (Bass/Mid/Treble) might use:

Bass = Bass shelving Filter
Mid = Peaking Filter
Treble = Treble shelving Filter

引用格式

Jeff Tackett (2024). Bass / Treble Shelving Filter (https://www.mathworks.com/matlabcentral/fileexchange/16568-bass-treble-shelving-filter), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Digital Filter Design 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0