⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dec4hpfilter2.h

📁 各种工程计算的库函数
💻 H
字号:
/*    Decimation filter for rate 4    Copyright (C) 2001 Jussi Laako    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#ifdef _MSC_VER#pragma warning(disable:4305)#endifstatic const long lDec4hpFilterLen = 121l;static const float fDec4hpFilterGain =  1.0f;static const float fpDec4hpFilterCoeffs[] = {    2.27511165807092E-5,    -4.69334685978262E-5,    5.59444215614934E-5,    -3.03345116857967E-5,    -3.51625071156962E-5,    0.000120163758497706,    -0.000179779351287223,    0.000162846089610476,    -4.21379379142045E-5,    -0.000158181222615285,    0.000356138884167074,    -0.000438184587596674,    0.000313764407575798,    2.44116489296085E-5,    -0.000467607751163834,    0.000813305779331304,    -0.000846751374711447,    0.000453896495409946,    0.000287527577319584,    -0.00109459018551053,    0.00157164512081116,    -0.00138705367418495,    0.000461927810521527,    0.000925401546625971,    -0.00219409795238592,    0.00268387339764152,    -0.00197028408944099,    0.000131760576739722,    0.00217788810193357,    -0.00392981793928515,    0.00414997020060235,    -0.00241084543166628,    -0.000846630133832004,    0.00435389050453627,    -0.00646866153559466,    0.00589894532379735,    -0.00239534315242629,    -0.00292975904846156,    0.00787865428145303,    -0.0100159497273034,    0.00778536994637303,    -0.00141326527016137,    -0.00686579414362055,    0.0134868805234933,    -0.0149786561286599,    0.00960484033670776,    0.00149266686967939,    -0.0142564354207879,    0.0229923447047381,    -0.0226268654767769,    0.0111272094465212,    0.00892200078002045,    -0.0303793215932014,    0.0434669876723969,    -0.03904590216319,    0.0121407657462135,    0.0356024700081632,    -0.0955555608836997,    0.154160319182123,    -0.196832113159676,    0.212440611023736,    -0.196832113159676,    0.154160319182123,    -0.0955555608836997,    0.0356024700081632,    0.0121407657462135,    -0.03904590216319,    0.0434669876723969,    -0.0303793215932014,    0.00892200078002045,    0.0111272094465212,    -0.0226268654767769,    0.0229923447047381,    -0.0142564354207879,    0.00149266686967939,    0.00960484033670776,    -0.0149786561286599,    0.0134868805234933,    -0.00686579414362055,    -0.00141326527016137,    0.00778536994637303,    -0.0100159497273034,    0.00787865428145303,    -0.00292975904846156,    -0.00239534315242629,    0.00589894532379735,    -0.00646866153559466,    0.00435389050453627,    -0.000846630133832004,    -0.00241084543166628,    0.00414997020060235,    -0.00392981793928515,    0.00217788810193357,    0.000131760576739722,    -0.00197028408944099,    0.00268387339764152,    -0.00219409795238592,    0.000925401546625971,    0.000461927810521527,    -0.00138705367418495,    0.00157164512081116,    -0.00109459018551053,    0.000287527577319584,    0.000453896495409946,    -0.000846751374711447,    0.000813305779331304,    -0.000467607751163834,    2.44116489296085E-5,    0.000313764407575798,    -0.000438184587596674,    0.000356138884167074,    -0.000158181222615285,    -4.21379379142045E-5,    0.000162846089610476,    -0.000179779351287223,    0.000120163758497706,    -3.51625071156962E-5,    -3.03345116857967E-5,    5.59444215614934E-5,    -4.69334685978262E-5,    2.27511165807092E-5};static const double dDec4hpFilterGain =  1.0;static const double dpDec4hpFilterCoeffs[] = {    2.27511165807092E-5,    -4.69334685978262E-5,    5.59444215614934E-5,    -3.03345116857967E-5,    -3.51625071156962E-5,    0.000120163758497706,    -0.000179779351287223,    0.000162846089610476,    -4.21379379142045E-5,    -0.000158181222615285,    0.000356138884167074,    -0.000438184587596674,    0.000313764407575798,    2.44116489296085E-5,    -0.000467607751163834,    0.000813305779331304,    -0.000846751374711447,    0.000453896495409946,    0.000287527577319584,    -0.00109459018551053,    0.00157164512081116,    -0.00138705367418495,    0.000461927810521527,    0.000925401546625971,    -0.00219409795238592,    0.00268387339764152,    -0.00197028408944099,    0.000131760576739722,    0.00217788810193357,    -0.00392981793928515,    0.00414997020060235,    -0.00241084543166628,    -0.000846630133832004,    0.00435389050453627,    -0.00646866153559466,    0.00589894532379735,    -0.00239534315242629,    -0.00292975904846156,    0.00787865428145303,    -0.0100159497273034,    0.00778536994637303,    -0.00141326527016137,    -0.00686579414362055,    0.0134868805234933,    -0.0149786561286599,    0.00960484033670776,    0.00149266686967939,    -0.0142564354207879,    0.0229923447047381,    -0.0226268654767769,    0.0111272094465212,    0.00892200078002045,    -0.0303793215932014,    0.0434669876723969,    -0.03904590216319,    0.0121407657462135,    0.0356024700081632,    -0.0955555608836997,    0.154160319182123,    -0.196832113159676,    0.212440611023736,    -0.196832113159676,    0.154160319182123,    -0.0955555608836997,    0.0356024700081632,    0.0121407657462135,    -0.03904590216319,    0.0434669876723969,    -0.0303793215932014,    0.00892200078002045,    0.0111272094465212,    -0.0226268654767769,    0.0229923447047381,    -0.0142564354207879,    0.00149266686967939,    0.00960484033670776,    -0.0149786561286599,    0.0134868805234933,    -0.00686579414362055,    -0.00141326527016137,    0.00778536994637303,    -0.0100159497273034,    0.00787865428145303,    -0.00292975904846156,    -0.00239534315242629,    0.00589894532379735,    -0.00646866153559466,    0.00435389050453627,    -0.000846630133832004,    -0.00241084543166628,    0.00414997020060235,    -0.00392981793928515,    0.00217788810193357,    0.000131760576739722,    -0.00197028408944099,    0.00268387339764152,    -0.00219409795238592,    0.000925401546625971,    0.000461927810521527,    -0.00138705367418495,    0.00157164512081116,    -0.00109459018551053,    0.000287527577319584,    0.000453896495409946,    -0.000846751374711447,    0.000813305779331304,    -0.000467607751163834,    2.44116489296085E-5,    0.000313764407575798,    -0.000438184587596674,    0.000356138884167074,    -0.000158181222615285,    -4.21379379142045E-5,    0.000162846089610476,    -0.000179779351287223,    0.000120163758497706,    -3.51625071156962E-5,    -3.03345116857967E-5,    5.59444215614934E-5,    -4.69334685978262E-5,    2.27511165807092E-5};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -