1 /* 2 * Copyright (C) 2004-2010 NXP Software 3 * Copyright (C) 2010 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 #ifndef __LVM_COEFFS_H__ 19 #define __LVM_COEFFS_H__ 20 21 22 /************************************************************************************/ 23 /* */ 24 /* High Pass Shelving Filter coefficients */ 25 /* */ 26 /************************************************************************************/ 27 28 #define TrebleBoostCorner 8000 29 #define TrebleBoostMinRate 4 30 #define TrebleBoostSteps 15 31 32 #ifdef BUILD_FLOAT 33 /* Coefficients for sample rate 22050Hz */ 34 /* Gain = 1.000000 dB */ 35 #define HPF_Fs22050_Gain1_A0 1.038434 36 #define HPF_Fs22050_Gain1_A1 0.331599 37 #define HPF_Fs22050_Gain1_A2 0.000000 38 #define HPF_Fs22050_Gain1_B1 0.370033 39 #define HPF_Fs22050_Gain1_B2 0.000000 40 /* Gain = 2.000000 dB */ 41 #define HPF_Fs22050_Gain2_A0 1.081557 42 #define HPF_Fs22050_Gain2_A1 0.288475 43 #define HPF_Fs22050_Gain2_A2 0.000000 44 #define HPF_Fs22050_Gain2_B1 0.370033 45 #define HPF_Fs22050_Gain2_B2 0.000000 46 /* Gain = 3.000000 dB */ 47 #define HPF_Fs22050_Gain3_A0 1.129943 48 #define HPF_Fs22050_Gain3_A1 0.240090 49 #define HPF_Fs22050_Gain3_A2 0.000000 50 #define HPF_Fs22050_Gain3_B1 0.370033 51 #define HPF_Fs22050_Gain3_B2 0.000000 52 /* Gain = 4.000000 dB */ 53 #define HPF_Fs22050_Gain4_A0 1.184232 54 #define HPF_Fs22050_Gain4_A1 0.185801 55 #define HPF_Fs22050_Gain4_A2 0.000000 56 #define HPF_Fs22050_Gain4_B1 0.370033 57 #define HPF_Fs22050_Gain4_B2 0.000000 58 /* Gain = 5.000000 dB */ 59 #define HPF_Fs22050_Gain5_A0 1.245145 60 #define HPF_Fs22050_Gain5_A1 0.124887 61 #define HPF_Fs22050_Gain5_A2 0.000000 62 #define HPF_Fs22050_Gain5_B1 0.370033 63 #define HPF_Fs22050_Gain5_B2 0.000000 64 /* Gain = 6.000000 dB */ 65 #define HPF_Fs22050_Gain6_A0 1.313491 66 #define HPF_Fs22050_Gain6_A1 0.056541 67 #define HPF_Fs22050_Gain6_A2 0.000000 68 #define HPF_Fs22050_Gain6_B1 0.370033 69 #define HPF_Fs22050_Gain6_B2 0.000000 70 /* Gain = 7.000000 dB */ 71 #define HPF_Fs22050_Gain7_A0 1.390177 72 #define HPF_Fs22050_Gain7_A1 -0.020144 73 #define HPF_Fs22050_Gain7_A2 0.000000 74 #define HPF_Fs22050_Gain7_B1 0.370033 75 #define HPF_Fs22050_Gain7_B2 0.000000 76 /* Gain = 8.000000 dB */ 77 #define HPF_Fs22050_Gain8_A0 1.476219 78 #define HPF_Fs22050_Gain8_A1 -0.106187 79 #define HPF_Fs22050_Gain8_A2 0.000000 80 #define HPF_Fs22050_Gain8_B1 0.370033 81 #define HPF_Fs22050_Gain8_B2 0.000000 82 /* Gain = 9.000000 dB */ 83 #define HPF_Fs22050_Gain9_A0 1.572761 84 #define HPF_Fs22050_Gain9_A1 -0.202728 85 #define HPF_Fs22050_Gain9_A2 0.000000 86 #define HPF_Fs22050_Gain9_B1 0.370033 87 #define HPF_Fs22050_Gain9_B2 0.000000 88 /* Gain = 10.000000 dB */ 89 #define HPF_Fs22050_Gain10_A0 1.681082 90 #define HPF_Fs22050_Gain10_A1 -0.311049 91 #define HPF_Fs22050_Gain10_A2 0.000000 92 #define HPF_Fs22050_Gain10_B1 0.370033 93 #define HPF_Fs22050_Gain10_B2 0.000000 94 /* Gain = 11.000000 dB */ 95 #define HPF_Fs22050_Gain11_A0 1.802620 96 #define HPF_Fs22050_Gain11_A1 -0.432588 97 #define HPF_Fs22050_Gain11_A2 0.000000 98 #define HPF_Fs22050_Gain11_B1 0.370033 99 #define HPF_Fs22050_Gain11_B2 0.000000 100 /* Gain = 12.000000 dB */ 101 #define HPF_Fs22050_Gain12_A0 1.938989 102 #define HPF_Fs22050_Gain12_A1 -0.568956 103 #define HPF_Fs22050_Gain12_A2 0.000000 104 #define HPF_Fs22050_Gain12_B1 0.370033 105 #define HPF_Fs22050_Gain12_B2 0.000000 106 /* Gain = 13.000000 dB */ 107 #define HPF_Fs22050_Gain13_A0 2.091997 108 #define HPF_Fs22050_Gain13_A1 -0.721964 109 #define HPF_Fs22050_Gain13_A2 0.000000 110 #define HPF_Fs22050_Gain13_B1 0.370033 111 #define HPF_Fs22050_Gain13_B2 0.000000 112 /* Gain = 14.000000 dB */ 113 #define HPF_Fs22050_Gain14_A0 2.263674 114 #define HPF_Fs22050_Gain14_A1 -0.893641 115 #define HPF_Fs22050_Gain14_A2 0.000000 116 #define HPF_Fs22050_Gain14_B1 0.370033 117 #define HPF_Fs22050_Gain14_B2 0.000000 118 /* Gain = 15.000000 dB */ 119 #define HPF_Fs22050_Gain15_A0 2.456300 120 #define HPF_Fs22050_Gain15_A1 -1.086267 121 #define HPF_Fs22050_Gain15_A2 0.000000 122 #define HPF_Fs22050_Gain15_B1 0.370033 123 #define HPF_Fs22050_Gain15_B2 0.000000 124 /* Coefficients for sample rate 24000Hz */ 125 /* Gain = 1.000000 dB */ 126 #define HPF_Fs24000_Gain1_A0 1.044662 127 #define HPF_Fs24000_Gain1_A1 0.223287 128 #define HPF_Fs24000_Gain1_A2 0.000000 129 #define HPF_Fs24000_Gain1_B1 0.267949 130 #define HPF_Fs24000_Gain1_B2 0.000000 131 /* Gain = 2.000000 dB */ 132 #define HPF_Fs24000_Gain2_A0 1.094773 133 #define HPF_Fs24000_Gain2_A1 0.173176 134 #define HPF_Fs24000_Gain2_A2 0.000000 135 #define HPF_Fs24000_Gain2_B1 0.267949 136 #define HPF_Fs24000_Gain2_B2 0.000000 137 /* Gain = 3.000000 dB */ 138 #define HPF_Fs24000_Gain3_A0 1.150999 139 #define HPF_Fs24000_Gain3_A1 0.116950 140 #define HPF_Fs24000_Gain3_A2 0.000000 141 #define HPF_Fs24000_Gain3_B1 0.267949 142 #define HPF_Fs24000_Gain3_B2 0.000000 143 /* Gain = 4.000000 dB */ 144 #define HPF_Fs24000_Gain4_A0 1.214086 145 #define HPF_Fs24000_Gain4_A1 0.053863 146 #define HPF_Fs24000_Gain4_A2 0.000000 147 #define HPF_Fs24000_Gain4_B1 0.267949 148 #define HPF_Fs24000_Gain4_B2 0.000000 149 /* Gain = 5.000000 dB */ 150 #define HPF_Fs24000_Gain5_A0 1.284870 151 #define HPF_Fs24000_Gain5_A1 -0.016921 152 #define HPF_Fs24000_Gain5_A2 0.000000 153 #define HPF_Fs24000_Gain5_B1 0.267949 154 #define HPF_Fs24000_Gain5_B2 0.000000 155 /* Gain = 6.000000 dB */ 156 #define HPF_Fs24000_Gain6_A0 1.364291 157 #define HPF_Fs24000_Gain6_A1 -0.096342 158 #define HPF_Fs24000_Gain6_A2 0.000000 159 #define HPF_Fs24000_Gain6_B1 0.267949 160 #define HPF_Fs24000_Gain6_B2 0.000000 161 /* Gain = 7.000000 dB */ 162 #define HPF_Fs24000_Gain7_A0 1.453403 163 #define HPF_Fs24000_Gain7_A1 -0.185454 164 #define HPF_Fs24000_Gain7_A2 0.000000 165 #define HPF_Fs24000_Gain7_B1 0.267949 166 #define HPF_Fs24000_Gain7_B2 0.000000 167 /* Gain = 8.000000 dB */ 168 #define HPF_Fs24000_Gain8_A0 1.553389 169 #define HPF_Fs24000_Gain8_A1 -0.285440 170 #define HPF_Fs24000_Gain8_A2 0.000000 171 #define HPF_Fs24000_Gain8_B1 0.267949 172 #define HPF_Fs24000_Gain8_B2 0.000000 173 /* Gain = 9.000000 dB */ 174 #define HPF_Fs24000_Gain9_A0 1.665574 175 #define HPF_Fs24000_Gain9_A1 -0.397625 176 #define HPF_Fs24000_Gain9_A2 0.000000 177 #define HPF_Fs24000_Gain9_B1 0.267949 178 #define HPF_Fs24000_Gain9_B2 0.000000 179 /* Gain = 10.000000 dB */ 180 #define HPF_Fs24000_Gain10_A0 1.791449 181 #define HPF_Fs24000_Gain10_A1 -0.523499 182 #define HPF_Fs24000_Gain10_A2 0.000000 183 #define HPF_Fs24000_Gain10_B1 0.267949 184 #define HPF_Fs24000_Gain10_B2 0.000000 185 /* Gain = 11.000000 dB */ 186 #define HPF_Fs24000_Gain11_A0 1.932682 187 #define HPF_Fs24000_Gain11_A1 -0.664733 188 #define HPF_Fs24000_Gain11_A2 0.000000 189 #define HPF_Fs24000_Gain11_B1 0.267949 190 #define HPF_Fs24000_Gain11_B2 0.000000 191 /* Gain = 12.000000 dB */ 192 #define HPF_Fs24000_Gain12_A0 2.091148 193 #define HPF_Fs24000_Gain12_A1 -0.823199 194 #define HPF_Fs24000_Gain12_A2 0.000000 195 #define HPF_Fs24000_Gain12_B1 0.267949 196 #define HPF_Fs24000_Gain12_B2 0.000000 197 /* Gain = 13.000000 dB */ 198 #define HPF_Fs24000_Gain13_A0 2.268950 199 #define HPF_Fs24000_Gain13_A1 -1.001001 200 #define HPF_Fs24000_Gain13_A2 0.000000 201 #define HPF_Fs24000_Gain13_B1 0.267949 202 #define HPF_Fs24000_Gain13_B2 0.000000 203 /* Gain = 14.000000 dB */ 204 #define HPF_Fs24000_Gain14_A0 2.468447 205 #define HPF_Fs24000_Gain14_A1 -1.200498 206 #define HPF_Fs24000_Gain14_A2 0.000000 207 #define HPF_Fs24000_Gain14_B1 0.267949 208 #define HPF_Fs24000_Gain14_B2 0.000000 209 /* Gain = 15.000000 dB */ 210 #define HPF_Fs24000_Gain15_A0 2.692287 211 #define HPF_Fs24000_Gain15_A1 -1.424338 212 #define HPF_Fs24000_Gain15_A2 0.000000 213 #define HPF_Fs24000_Gain15_B1 0.267949 214 #define HPF_Fs24000_Gain15_B2 0.000000 215 /* Coefficients for sample rate 32000Hz */ 216 /* Gain = 1.000000 dB */ 217 #define HPF_Fs32000_Gain1_A0 1.061009 218 #define HPF_Fs32000_Gain1_A1 -0.061009 219 #define HPF_Fs32000_Gain1_A2 0.000000 220 #define HPF_Fs32000_Gain1_B1 -0.000000 221 #define HPF_Fs32000_Gain1_B2 0.000000 222 /* Gain = 2.000000 dB */ 223 #define HPF_Fs32000_Gain2_A0 1.129463 224 #define HPF_Fs32000_Gain2_A1 -0.129463 225 #define HPF_Fs32000_Gain2_A2 0.000000 226 #define HPF_Fs32000_Gain2_B1 -0.000000 227 #define HPF_Fs32000_Gain2_B2 0.000000 228 /* Gain = 3.000000 dB */ 229 #define HPF_Fs32000_Gain3_A0 1.206267 230 #define HPF_Fs32000_Gain3_A1 -0.206267 231 #define HPF_Fs32000_Gain3_A2 0.000000 232 #define HPF_Fs32000_Gain3_B1 -0.000000 233 #define HPF_Fs32000_Gain3_B2 0.000000 234 /* Gain = 4.000000 dB */ 235 #define HPF_Fs32000_Gain4_A0 1.292447 236 #define HPF_Fs32000_Gain4_A1 -0.292447 237 #define HPF_Fs32000_Gain4_A2 0.000000 238 #define HPF_Fs32000_Gain4_B1 -0.000000 239 #define HPF_Fs32000_Gain4_B2 0.000000 240 /* Gain = 5.000000 dB */ 241 #define HPF_Fs32000_Gain5_A0 1.389140 242 #define HPF_Fs32000_Gain5_A1 -0.389140 243 #define HPF_Fs32000_Gain5_A2 0.000000 244 #define HPF_Fs32000_Gain5_B1 -0.000000 245 #define HPF_Fs32000_Gain5_B2 0.000000 246 /* Gain = 6.000000 dB */ 247 #define HPF_Fs32000_Gain6_A0 1.497631 248 #define HPF_Fs32000_Gain6_A1 -0.497631 249 #define HPF_Fs32000_Gain6_A2 0.000000 250 #define HPF_Fs32000_Gain6_B1 -0.000000 251 #define HPF_Fs32000_Gain6_B2 0.000000 252 /* Gain = 7.000000 dB */ 253 #define HPF_Fs32000_Gain7_A0 1.619361 254 #define HPF_Fs32000_Gain7_A1 -0.619361 255 #define HPF_Fs32000_Gain7_A2 0.000000 256 #define HPF_Fs32000_Gain7_B1 -0.000000 257 #define HPF_Fs32000_Gain7_B2 0.000000 258 /* Gain = 8.000000 dB */ 259 #define HPF_Fs32000_Gain8_A0 1.755943 260 #define HPF_Fs32000_Gain8_A1 -0.755943 261 #define HPF_Fs32000_Gain8_A2 0.000000 262 #define HPF_Fs32000_Gain8_B1 -0.000000 263 #define HPF_Fs32000_Gain8_B2 0.000000 264 /* Gain = 9.000000 dB */ 265 #define HPF_Fs32000_Gain9_A0 1.909191 266 #define HPF_Fs32000_Gain9_A1 -0.909191 267 #define HPF_Fs32000_Gain9_A2 0.000000 268 #define HPF_Fs32000_Gain9_B1 -0.000000 269 #define HPF_Fs32000_Gain9_B2 0.000000 270 /* Gain = 10.000000 dB */ 271 #define HPF_Fs32000_Gain10_A0 2.081139 272 #define HPF_Fs32000_Gain10_A1 -1.081139 273 #define HPF_Fs32000_Gain10_A2 0.000000 274 #define HPF_Fs32000_Gain10_B1 -0.000000 275 #define HPF_Fs32000_Gain10_B2 0.000000 276 /* Gain = 11.000000 dB */ 277 #define HPF_Fs32000_Gain11_A0 2.274067 278 #define HPF_Fs32000_Gain11_A1 -1.274067 279 #define HPF_Fs32000_Gain11_A2 0.000000 280 #define HPF_Fs32000_Gain11_B1 -0.000000 281 #define HPF_Fs32000_Gain11_B2 0.000000 282 /* Gain = 12.000000 dB */ 283 #define HPF_Fs32000_Gain12_A0 2.490536 284 #define HPF_Fs32000_Gain12_A1 -1.490536 285 #define HPF_Fs32000_Gain12_A2 0.000000 286 #define HPF_Fs32000_Gain12_B1 -0.000000 287 #define HPF_Fs32000_Gain12_B2 0.000000 288 /* Gain = 13.000000 dB */ 289 #define HPF_Fs32000_Gain13_A0 2.733418 290 #define HPF_Fs32000_Gain13_A1 -1.733418 291 #define HPF_Fs32000_Gain13_A2 0.000000 292 #define HPF_Fs32000_Gain13_B1 -0.000000 293 #define HPF_Fs32000_Gain13_B2 0.000000 294 /* Gain = 14.000000 dB */ 295 #define HPF_Fs32000_Gain14_A0 3.005936 296 #define HPF_Fs32000_Gain14_A1 -2.005936 297 #define HPF_Fs32000_Gain14_A2 0.000000 298 #define HPF_Fs32000_Gain14_B1 -0.000000 299 #define HPF_Fs32000_Gain14_B2 0.000000 300 /* Gain = 15.000000 dB */ 301 #define HPF_Fs32000_Gain15_A0 3.311707 302 #define HPF_Fs32000_Gain15_A1 -2.311707 303 #define HPF_Fs32000_Gain15_A2 0.000000 304 #define HPF_Fs32000_Gain15_B1 -0.000000 305 #define HPF_Fs32000_Gain15_B2 0.000000 306 /* Coefficients for sample rate 44100Hz */ 307 /* Gain = 1.000000 dB */ 308 #define HPF_Fs44100_Gain1_A0 1.074364 309 #define HPF_Fs44100_Gain1_A1 -0.293257 310 #define HPF_Fs44100_Gain1_A2 0.000000 311 #define HPF_Fs44100_Gain1_B1 -0.218894 312 #define HPF_Fs44100_Gain1_B2 0.000000 313 /* Gain = 2.000000 dB */ 314 #define HPF_Fs44100_Gain2_A0 1.157801 315 #define HPF_Fs44100_Gain2_A1 -0.376695 316 #define HPF_Fs44100_Gain2_A2 0.000000 317 #define HPF_Fs44100_Gain2_B1 -0.218894 318 #define HPF_Fs44100_Gain2_B2 0.000000 319 /* Gain = 3.000000 dB */ 320 #define HPF_Fs44100_Gain3_A0 1.251420 321 #define HPF_Fs44100_Gain3_A1 -0.470313 322 #define HPF_Fs44100_Gain3_A2 0.000000 323 #define HPF_Fs44100_Gain3_B1 -0.218894 324 #define HPF_Fs44100_Gain3_B2 0.000000 325 /* Gain = 4.000000 dB */ 326 #define HPF_Fs44100_Gain4_A0 1.356461 327 #define HPF_Fs44100_Gain4_A1 -0.575355 328 #define HPF_Fs44100_Gain4_A2 0.000000 329 #define HPF_Fs44100_Gain4_B1 -0.218894 330 #define HPF_Fs44100_Gain4_B2 0.000000 331 /* Gain = 5.000000 dB */ 332 #define HPF_Fs44100_Gain5_A0 1.474320 333 #define HPF_Fs44100_Gain5_A1 -0.693213 334 #define HPF_Fs44100_Gain5_A2 0.000000 335 #define HPF_Fs44100_Gain5_B1 -0.218894 336 #define HPF_Fs44100_Gain5_B2 0.000000 337 /* Gain = 6.000000 dB */ 338 #define HPF_Fs44100_Gain6_A0 1.606559 339 #define HPF_Fs44100_Gain6_A1 -0.825453 340 #define HPF_Fs44100_Gain6_A2 0.000000 341 #define HPF_Fs44100_Gain6_B1 -0.218894 342 #define HPF_Fs44100_Gain6_B2 0.000000 343 /* Gain = 7.000000 dB */ 344 #define HPF_Fs44100_Gain7_A0 1.754935 345 #define HPF_Fs44100_Gain7_A1 -0.973828 346 #define HPF_Fs44100_Gain7_A2 0.000000 347 #define HPF_Fs44100_Gain7_B1 -0.218894 348 #define HPF_Fs44100_Gain7_B2 0.000000 349 /* Gain = 8.000000 dB */ 350 #define HPF_Fs44100_Gain8_A0 1.921414 351 #define HPF_Fs44100_Gain8_A1 -1.140308 352 #define HPF_Fs44100_Gain8_A2 0.000000 353 #define HPF_Fs44100_Gain8_B1 -0.218894 354 #define HPF_Fs44100_Gain8_B2 0.000000 355 /* Gain = 9.000000 dB */ 356 #define HPF_Fs44100_Gain9_A0 2.108208 357 #define HPF_Fs44100_Gain9_A1 -1.327101 358 #define HPF_Fs44100_Gain9_A2 0.000000 359 #define HPF_Fs44100_Gain9_B1 -0.218894 360 #define HPF_Fs44100_Gain9_B2 0.000000 361 /* Gain = 10.000000 dB */ 362 #define HPF_Fs44100_Gain10_A0 2.317793 363 #define HPF_Fs44100_Gain10_A1 -1.536687 364 #define HPF_Fs44100_Gain10_A2 0.000000 365 #define HPF_Fs44100_Gain10_B1 -0.218894 366 #define HPF_Fs44100_Gain10_B2 0.000000 367 /* Gain = 11.000000 dB */ 368 #define HPF_Fs44100_Gain11_A0 2.552952 369 #define HPF_Fs44100_Gain11_A1 -1.771846 370 #define HPF_Fs44100_Gain11_A2 0.000000 371 #define HPF_Fs44100_Gain11_B1 -0.218894 372 #define HPF_Fs44100_Gain11_B2 0.000000 373 /* Gain = 12.000000 dB */ 374 #define HPF_Fs44100_Gain12_A0 2.816805 375 #define HPF_Fs44100_Gain12_A1 -2.035698 376 #define HPF_Fs44100_Gain12_A2 0.000000 377 #define HPF_Fs44100_Gain12_B1 -0.218894 378 #define HPF_Fs44100_Gain12_B2 0.000000 379 /* Gain = 13.000000 dB */ 380 #define HPF_Fs44100_Gain13_A0 3.112852 381 #define HPF_Fs44100_Gain13_A1 -2.331746 382 #define HPF_Fs44100_Gain13_A2 0.000000 383 #define HPF_Fs44100_Gain13_B1 -0.218894 384 #define HPF_Fs44100_Gain13_B2 0.000000 385 /* Gain = 14.000000 dB */ 386 #define HPF_Fs44100_Gain14_A0 3.445023 387 #define HPF_Fs44100_Gain14_A1 -2.663916 388 #define HPF_Fs44100_Gain14_A2 0.000000 389 #define HPF_Fs44100_Gain14_B1 -0.218894 390 #define HPF_Fs44100_Gain14_B2 0.000000 391 /* Gain = 15.000000 dB */ 392 #define HPF_Fs44100_Gain15_A0 3.817724 393 #define HPF_Fs44100_Gain15_A1 -3.036618 394 #define HPF_Fs44100_Gain15_A2 0.000000 395 #define HPF_Fs44100_Gain15_B1 -0.218894 396 #define HPF_Fs44100_Gain15_B2 0.000000 397 /* Coefficients for sample rate 48000Hz */ 398 /* Gain = 1.000000 dB */ 399 #define HPF_Fs48000_Gain1_A0 1.077357 400 #define HPF_Fs48000_Gain1_A1 -0.345306 401 #define HPF_Fs48000_Gain1_A2 0.000000 402 #define HPF_Fs48000_Gain1_B1 -0.267949 403 #define HPF_Fs48000_Gain1_B2 0.000000 404 /* Gain = 2.000000 dB */ 405 #define HPF_Fs48000_Gain2_A0 1.164152 406 #define HPF_Fs48000_Gain2_A1 -0.432101 407 #define HPF_Fs48000_Gain2_A2 0.000000 408 #define HPF_Fs48000_Gain2_B1 -0.267949 409 #define HPF_Fs48000_Gain2_B2 0.000000 410 /* Gain = 3.000000 dB */ 411 #define HPF_Fs48000_Gain3_A0 1.261538 412 #define HPF_Fs48000_Gain3_A1 -0.529488 413 #define HPF_Fs48000_Gain3_A2 0.000000 414 #define HPF_Fs48000_Gain3_B1 -0.267949 415 #define HPF_Fs48000_Gain3_B2 0.000000 416 /* Gain = 4.000000 dB */ 417 #define HPF_Fs48000_Gain4_A0 1.370807 418 #define HPF_Fs48000_Gain4_A1 -0.638757 419 #define HPF_Fs48000_Gain4_A2 0.000000 420 #define HPF_Fs48000_Gain4_B1 -0.267949 421 #define HPF_Fs48000_Gain4_B2 0.000000 422 /* Gain = 5.000000 dB */ 423 #define HPF_Fs48000_Gain5_A0 1.493409 424 #define HPF_Fs48000_Gain5_A1 -0.761359 425 #define HPF_Fs48000_Gain5_A2 0.000000 426 #define HPF_Fs48000_Gain5_B1 -0.267949 427 #define HPF_Fs48000_Gain5_B2 0.000000 428 /* Gain = 6.000000 dB */ 429 #define HPF_Fs48000_Gain6_A0 1.630971 430 #define HPF_Fs48000_Gain6_A1 -0.898920 431 #define HPF_Fs48000_Gain6_A2 0.000000 432 #define HPF_Fs48000_Gain6_B1 -0.267949 433 #define HPF_Fs48000_Gain6_B2 0.000000 434 /* Gain = 7.000000 dB */ 435 #define HPF_Fs48000_Gain7_A0 1.785318 436 #define HPF_Fs48000_Gain7_A1 -1.053267 437 #define HPF_Fs48000_Gain7_A2 0.000000 438 #define HPF_Fs48000_Gain7_B1 -0.267949 439 #define HPF_Fs48000_Gain7_B2 0.000000 440 /* Gain = 8.000000 dB */ 441 #define HPF_Fs48000_Gain8_A0 1.958498 442 #define HPF_Fs48000_Gain8_A1 -1.226447 443 #define HPF_Fs48000_Gain8_A2 0.000000 444 #define HPF_Fs48000_Gain8_B1 -0.267949 445 #define HPF_Fs48000_Gain8_B2 0.000000 446 /* Gain = 9.000000 dB */ 447 #define HPF_Fs48000_Gain9_A0 2.152809 448 #define HPF_Fs48000_Gain9_A1 -1.420758 449 #define HPF_Fs48000_Gain9_A2 0.000000 450 #define HPF_Fs48000_Gain9_B1 -0.267949 451 #define HPF_Fs48000_Gain9_B2 0.000000 452 /* Gain = 10.000000 dB */ 453 #define HPF_Fs48000_Gain10_A0 2.370829 454 #define HPF_Fs48000_Gain10_A1 -1.638778 455 #define HPF_Fs48000_Gain10_A2 0.000000 456 #define HPF_Fs48000_Gain10_B1 -0.267949 457 #define HPF_Fs48000_Gain10_B2 0.000000 458 /* Gain = 11.000000 dB */ 459 #define HPF_Fs48000_Gain11_A0 2.615452 460 #define HPF_Fs48000_Gain11_A1 -1.883401 461 #define HPF_Fs48000_Gain11_A2 0.000000 462 #define HPF_Fs48000_Gain11_B1 -0.267949 463 #define HPF_Fs48000_Gain11_B2 0.000000 464 /* Gain = 12.000000 dB */ 465 #define HPF_Fs48000_Gain12_A0 2.889924 466 #define HPF_Fs48000_Gain12_A1 -2.157873 467 #define HPF_Fs48000_Gain12_A2 0.000000 468 #define HPF_Fs48000_Gain12_B1 -0.267949 469 #define HPF_Fs48000_Gain12_B2 0.000000 470 /* Gain = 13.000000 dB */ 471 #define HPF_Fs48000_Gain13_A0 3.197886 472 #define HPF_Fs48000_Gain13_A1 -2.465835 473 #define HPF_Fs48000_Gain13_A2 0.000000 474 #define HPF_Fs48000_Gain13_B1 -0.267949 475 #define HPF_Fs48000_Gain13_B2 0.000000 476 /* Gain = 14.000000 dB */ 477 #define HPF_Fs48000_Gain14_A0 3.543425 478 #define HPF_Fs48000_Gain14_A1 -2.811374 479 #define HPF_Fs48000_Gain14_A2 0.000000 480 #define HPF_Fs48000_Gain14_B1 -0.267949 481 #define HPF_Fs48000_Gain14_B2 0.000000 482 /* Gain = 15.000000 dB */ 483 #define HPF_Fs48000_Gain15_A0 3.931127 484 #define HPF_Fs48000_Gain15_A1 -3.199076 485 #define HPF_Fs48000_Gain15_A2 0.000000 486 #define HPF_Fs48000_Gain15_B1 -0.267949 487 #define HPF_Fs48000_Gain15_B2 0.000000 488 489 #ifdef HIGHER_FS 490 491 /* Coefficients for sample rate 96000Hz */ 492 /* Gain = 1.000000 dB */ 493 #define HPF_Fs96000_Gain1_A0 1.096233 494 #define HPF_Fs96000_Gain1_A1 -0.673583 495 #define HPF_Fs96000_Gain1_A2 0.000000 496 #define HPF_Fs96000_Gain1_B1 -0.577350 497 #define HPF_Fs96000_Gain1_B2 0.000000 498 /* Gain = 2.000000 dB */ 499 #define HPF_Fs96000_Gain2_A0 1.204208 500 #define HPF_Fs96000_Gain2_A1 -0.781558 501 #define HPF_Fs96000_Gain2_A2 0.000000 502 #define HPF_Fs96000_Gain2_B1 -0.577350 503 #define HPF_Fs96000_Gain2_B2 0.000000 504 /* Gain = 3.000000 dB */ 505 #define HPF_Fs96000_Gain3_A0 1.325358 506 #define HPF_Fs96000_Gain3_A1 -0.902708 507 #define HPF_Fs96000_Gain3_A2 0.000000 508 #define HPF_Fs96000_Gain3_B1 -0.577350 509 #define HPF_Fs96000_Gain3_B2 0.000000 510 /* Gain = 4.000000 dB */ 511 #define HPF_Fs96000_Gain4_A0 1.461291 512 #define HPF_Fs96000_Gain4_A1 -1.038641 513 #define HPF_Fs96000_Gain4_A2 0.000000 514 #define HPF_Fs96000_Gain4_B1 -0.577350 515 #define HPF_Fs96000_Gain4_B2 0.000000 516 /* Gain = 5.000000 dB */ 517 #define HPF_Fs96000_Gain5_A0 1.613810 518 #define HPF_Fs96000_Gain5_A1 -1.191160 519 #define HPF_Fs96000_Gain5_A2 0.000000 520 #define HPF_Fs96000_Gain5_B1 -0.577350 521 #define HPF_Fs96000_Gain5_B2 0.000000 522 /* Gain = 6.000000 dB */ 523 #define HPF_Fs96000_Gain6_A0 1.784939 524 #define HPF_Fs96000_Gain6_A1 -1.362289 525 #define HPF_Fs96000_Gain6_A2 0.000000 526 #define HPF_Fs96000_Gain6_B1 -0.577350 527 #define HPF_Fs96000_Gain6_B2 0.000000 528 /* Gain = 7.000000 dB */ 529 #define HPF_Fs96000_Gain7_A0 1.976949 530 #define HPF_Fs96000_Gain7_A1 -1.554299 531 #define HPF_Fs96000_Gain7_A2 0.000000 532 #define HPF_Fs96000_Gain7_B1 -0.577350 533 #define HPF_Fs96000_Gain7_B2 0.000000 534 /* Gain = 8.000000 dB */ 535 #define HPF_Fs96000_Gain8_A0 2.192387 536 #define HPF_Fs96000_Gain8_A1 -1.769738 537 #define HPF_Fs96000_Gain8_A2 0.000000 538 #define HPF_Fs96000_Gain8_B1 -0.577350 539 #define HPF_Fs96000_Gain8_B2 0.000000 540 /* Gain = 9.000000 dB */ 541 #define HPF_Fs96000_Gain9_A0 2.434113 542 #define HPF_Fs96000_Gain9_A1 -2.011464 543 #define HPF_Fs96000_Gain9_A2 0.000000 544 #define HPF_Fs96000_Gain9_B1 -0.577350 545 #define HPF_Fs96000_Gain9_B2 0.000000 546 /* Gain = 10.000000 dB */ 547 #define HPF_Fs96000_Gain10_A0 2.705335 548 #define HPF_Fs96000_Gain10_A1 -2.282685 549 #define HPF_Fs96000_Gain10_A2 0.000000 550 #define HPF_Fs96000_Gain10_B1 -0.577350 551 #define HPF_Fs96000_Gain10_B2 0.000000 552 /* Gain = 11.000000 dB */ 553 #define HPF_Fs96000_Gain11_A0 3.009650 554 #define HPF_Fs96000_Gain11_A1 -2.587000 555 #define HPF_Fs96000_Gain11_A2 0.000000 556 #define HPF_Fs96000_Gain11_B1 -0.577350 557 #define HPF_Fs96000_Gain11_B2 0.000000 558 /* Gain = 12.000000 dB */ 559 #define HPF_Fs96000_Gain12_A0 3.351097 560 #define HPF_Fs96000_Gain12_A1 -2.928447 561 #define HPF_Fs96000_Gain12_A2 0.000000 562 #define HPF_Fs96000_Gain12_B1 -0.577350 563 #define HPF_Fs96000_Gain12_B2 0.000000 564 /* Gain = 13.000000 dB */ 565 #define HPF_Fs96000_Gain13_A0 3.734207 566 #define HPF_Fs96000_Gain13_A1 -3.311558 567 #define HPF_Fs96000_Gain13_A2 0.000000 568 #define HPF_Fs96000_Gain13_B1 -0.577350 569 #define HPF_Fs96000_Gain13_B2 0.000000 570 /* Gain = 14.000000 dB */ 571 #define HPF_Fs96000_Gain14_A0 4.164064 572 #define HPF_Fs96000_Gain14_A1 -3.741414 573 #define HPF_Fs96000_Gain14_A2 0.000000 574 #define HPF_Fs96000_Gain14_B1 -0.577350 575 #define HPF_Fs96000_Gain14_B2 0.000000 576 /* Gain = 15.000000 dB */ 577 #define HPF_Fs96000_Gain15_A0 4.646371 578 #define HPF_Fs96000_Gain15_A1 -4.223721 579 #define HPF_Fs96000_Gain15_A2 0.000000 580 #define HPF_Fs96000_Gain15_B1 -0.577350 581 #define HPF_Fs96000_Gain15_B2 0.000000 582 583 /* Coefficients for sample rate 192000Hz */ 584 /* Gain = 1.000000 dB */ 585 #define HPF_Fs192000_Gain1_A0 1.107823 586 #define HPF_Fs192000_Gain1_A1 -0.875150 587 #define HPF_Fs192000_Gain1_A2 0.000000 588 #define HPF_Fs192000_Gain1_B1 -0.767327 589 #define HPF_Fs192000_Gain1_B2 0.000000 590 /* Gain = 2.000000 dB */ 591 #define HPF_Fs192000_Gain2_A0 1.228803 592 #define HPF_Fs192000_Gain2_A1 -0.996130 593 #define HPF_Fs192000_Gain2_A2 0.000000 594 #define HPF_Fs192000_Gain2_B1 -0.767327 595 #define HPF_Fs192000_Gain2_B2 0.000000 596 /* Gain = 3.000000 dB */ 597 #define HPF_Fs192000_Gain3_A0 1.364544 598 #define HPF_Fs192000_Gain3_A1 -1.131871 599 #define HPF_Fs192000_Gain3_A2 0.000000 600 #define HPF_Fs192000_Gain3_B1 -0.767327 601 #define HPF_Fs192000_Gain3_B2 0.000000 602 /* Gain = 4.000000 dB */ 603 #define HPF_Fs192000_Gain4_A0 1.516849 604 #define HPF_Fs192000_Gain4_A1 -1.284176 605 #define HPF_Fs192000_Gain4_A2 0.000000 606 #define HPF_Fs192000_Gain4_B1 -0.767327 607 #define HPF_Fs192000_Gain4_B2 0.000000 608 /* Gain = 5.000000 dB */ 609 #define HPF_Fs192000_Gain5_A0 1.687737 610 #define HPF_Fs192000_Gain5_A1 -1.455064 611 #define HPF_Fs192000_Gain5_A2 0.000000 612 #define HPF_Fs192000_Gain5_B1 -0.767327 613 #define HPF_Fs192000_Gain5_B2 0.000000 614 /* Gain = 6.000000 dB */ 615 #define HPF_Fs192000_Gain6_A0 1.879477 616 #define HPF_Fs192000_Gain6_A1 -1.646804 617 #define HPF_Fs192000_Gain6_A2 0.000000 618 #define HPF_Fs192000_Gain6_B1 -0.767327 619 #define HPF_Fs192000_Gain6_B2 0.000000 620 /* Gain = 7.000000 dB */ 621 #define HPF_Fs192000_Gain7_A0 2.094613 622 #define HPF_Fs192000_Gain7_A1 -1.861940 623 #define HPF_Fs192000_Gain7_A2 0.000000 624 #define HPF_Fs192000_Gain7_B1 -0.767327 625 #define HPF_Fs192000_Gain7_B2 0.000000 626 /* Gain = 8.000000 dB */ 627 #define HPF_Fs192000_Gain8_A0 2.335999 628 #define HPF_Fs192000_Gain8_A1 -2.103326 629 #define HPF_Fs192000_Gain8_A2 0.000000 630 #define HPF_Fs192000_Gain8_B1 -0.767327 631 #define HPF_Fs192000_Gain8_B2 0.000000 632 /* Gain = 9.000000 dB */ 633 #define HPF_Fs192000_Gain9_A0 2.606839 634 #define HPF_Fs192000_Gain9_A1 -2.374166 635 #define HPF_Fs192000_Gain9_A2 0.000000 636 #define HPF_Fs192000_Gain9_B1 -0.767327 637 #define HPF_Fs192000_Gain9_B2 0.000000 638 /* Gain = 10.000000 dB */ 639 #define HPF_Fs192000_Gain10_A0 2.910726 640 #define HPF_Fs192000_Gain10_A1 -2.678053 641 #define HPF_Fs192000_Gain10_A2 0.000000 642 #define HPF_Fs192000_Gain10_B1 -0.767327 643 #define HPF_Fs192000_Gain10_B2 0.000000 644 /* Gain = 11.000000 dB */ 645 #define HPF_Fs192000_Gain11_A0 3.251693 646 #define HPF_Fs192000_Gain11_A1 -3.019020 647 #define HPF_Fs192000_Gain11_A2 0.000000 648 #define HPF_Fs192000_Gain11_B1 -0.767327 649 #define HPF_Fs192000_Gain11_B2 0.000000 650 /* Gain = 12.000000 dB */ 651 #define HPF_Fs192000_Gain12_A0 3.634264 652 #define HPF_Fs192000_Gain12_A1 -3.401591 653 #define HPF_Fs192000_Gain12_A2 0.000000 654 #define HPF_Fs192000_Gain12_B1 -0.767327 655 #define HPF_Fs192000_Gain12_B2 0.000000 656 /* Gain = 13.000000 dB */ 657 #define HPF_Fs192000_Gain13_A0 4.063516 658 #define HPF_Fs192000_Gain13_A1 -3.830843 659 #define HPF_Fs192000_Gain13_A2 0.000000 660 #define HPF_Fs192000_Gain13_B1 -0.767327 661 #define HPF_Fs192000_Gain13_B2 0.000000 662 /* Gain = 14.000000 dB */ 663 #define HPF_Fs192000_Gain14_A0 4.545145 664 #define HPF_Fs192000_Gain14_A1 -4.312472 665 #define HPF_Fs192000_Gain14_A2 0.000000 666 #define HPF_Fs192000_Gain14_B1 -0.767327 667 #define HPF_Fs192000_Gain14_B2 0.000000 668 /* Gain = 15.000000 dB */ 669 #define HPF_Fs192000_Gain15_A0 5.085542 670 #define HPF_Fs192000_Gain15_A1 -4.852868 671 #define HPF_Fs192000_Gain15_A2 0.000000 672 #define HPF_Fs192000_Gain15_B1 -0.767327 673 #define HPF_Fs192000_Gain15_B2 0.000000 674 675 #endif 676 677 #else 678 /* Coefficients for sample rate 22050Hz */ 679 /* Gain = 1.000000 dB */ 680 #define HPF_Fs22050_Gain1_A0 5383 /* Floating point value 0.164291 */ 681 #define HPF_Fs22050_Gain1_A1 16859 /* Floating point value 0.514492 */ 682 #define HPF_Fs22050_Gain1_A2 0 /* Floating point value 0.000000 */ 683 #define HPF_Fs22050_Gain1_B1 12125 /* Floating point value 0.370033 */ 684 #define HPF_Fs22050_Gain1_B2 0 /* Floating point value 0.000000 */ 685 #define HPF_Fs22050_Gain1_Shift 1 /* Shift value */ 686 /* Gain = 2.000000 dB */ 687 #define HPF_Fs22050_Gain2_A0 4683 /* Floating point value 0.142925 */ 688 #define HPF_Fs22050_Gain2_A1 17559 /* Floating point value 0.535858 */ 689 #define HPF_Fs22050_Gain2_A2 0 /* Floating point value 0.000000 */ 690 #define HPF_Fs22050_Gain2_B1 12125 /* Floating point value 0.370033 */ 691 #define HPF_Fs22050_Gain2_B2 0 /* Floating point value 0.000000 */ 692 #define HPF_Fs22050_Gain2_Shift 1 /* Shift value */ 693 /* Gain = 3.000000 dB */ 694 #define HPF_Fs22050_Gain3_A0 3898 /* Floating point value 0.118953 */ 695 #define HPF_Fs22050_Gain3_A1 18345 /* Floating point value 0.559830 */ 696 #define HPF_Fs22050_Gain3_A2 0 /* Floating point value 0.000000 */ 697 #define HPF_Fs22050_Gain3_B1 12125 /* Floating point value 0.370033 */ 698 #define HPF_Fs22050_Gain3_B2 0 /* Floating point value 0.000000 */ 699 #define HPF_Fs22050_Gain3_Shift 1 /* Shift value */ 700 /* Gain = 4.000000 dB */ 701 #define HPF_Fs22050_Gain4_A0 3016 /* Floating point value 0.092055 */ 702 #define HPF_Fs22050_Gain4_A1 19226 /* Floating point value 0.586728 */ 703 #define HPF_Fs22050_Gain4_A2 0 /* Floating point value 0.000000 */ 704 #define HPF_Fs22050_Gain4_B1 12125 /* Floating point value 0.370033 */ 705 #define HPF_Fs22050_Gain4_B2 0 /* Floating point value 0.000000 */ 706 #define HPF_Fs22050_Gain4_Shift 1 /* Shift value */ 707 /* Gain = 5.000000 dB */ 708 #define HPF_Fs22050_Gain5_A0 2028 /* Floating point value 0.061876 */ 709 #define HPF_Fs22050_Gain5_A1 20215 /* Floating point value 0.616907 */ 710 #define HPF_Fs22050_Gain5_A2 0 /* Floating point value 0.000000 */ 711 #define HPF_Fs22050_Gain5_B1 12125 /* Floating point value 0.370033 */ 712 #define HPF_Fs22050_Gain5_B2 0 /* Floating point value 0.000000 */ 713 #define HPF_Fs22050_Gain5_Shift 1 /* Shift value */ 714 /* Gain = 6.000000 dB */ 715 #define HPF_Fs22050_Gain6_A0 918 /* Floating point value 0.028013 */ 716 #define HPF_Fs22050_Gain6_A1 21324 /* Floating point value 0.650770 */ 717 #define HPF_Fs22050_Gain6_A2 0 /* Floating point value 0.000000 */ 718 #define HPF_Fs22050_Gain6_B1 12125 /* Floating point value 0.370033 */ 719 #define HPF_Fs22050_Gain6_B2 0 /* Floating point value 0.000000 */ 720 #define HPF_Fs22050_Gain6_Shift 1 /* Shift value */ 721 /* Gain = 7.000000 dB */ 722 #define HPF_Fs22050_Gain7_A0 (-164) /* Floating point value -0.005002 */ 723 #define HPF_Fs22050_Gain7_A1 11311 /* Floating point value 0.345199 */ 724 #define HPF_Fs22050_Gain7_A2 0 /* Floating point value 0.000000 */ 725 #define HPF_Fs22050_Gain7_B1 12125 /* Floating point value 0.370033 */ 726 #define HPF_Fs22050_Gain7_B2 0 /* Floating point value 0.000000 */ 727 #define HPF_Fs22050_Gain7_Shift 2 /* Shift value */ 728 /* Gain = 8.000000 dB */ 729 #define HPF_Fs22050_Gain8_A0 (-864) /* Floating point value -0.026368 */ 730 #define HPF_Fs22050_Gain8_A1 12012 /* Floating point value 0.366565 */ 731 #define HPF_Fs22050_Gain8_A2 0 /* Floating point value 0.000000 */ 732 #define HPF_Fs22050_Gain8_B1 12125 /* Floating point value 0.370033 */ 733 #define HPF_Fs22050_Gain8_B2 0 /* Floating point value 0.000000 */ 734 #define HPF_Fs22050_Gain8_Shift 2 /* Shift value */ 735 /* Gain = 9.000000 dB */ 736 #define HPF_Fs22050_Gain9_A0 (-1650) /* Floating point value -0.050340 */ 737 #define HPF_Fs22050_Gain9_A1 12797 /* Floating point value 0.390537 */ 738 #define HPF_Fs22050_Gain9_A2 0 /* Floating point value 0.000000 */ 739 #define HPF_Fs22050_Gain9_B1 12125 /* Floating point value 0.370033 */ 740 #define HPF_Fs22050_Gain9_B2 0 /* Floating point value 0.000000 */ 741 #define HPF_Fs22050_Gain9_Shift 2 /* Shift value */ 742 /* Gain = 10.000000 dB */ 743 #define HPF_Fs22050_Gain10_A0 (-2531) /* Floating point value -0.077238 */ 744 #define HPF_Fs22050_Gain10_A1 13679 /* Floating point value 0.417435 */ 745 #define HPF_Fs22050_Gain10_A2 0 /* Floating point value 0.000000 */ 746 #define HPF_Fs22050_Gain10_B1 12125 /* Floating point value 0.370033 */ 747 #define HPF_Fs22050_Gain10_B2 0 /* Floating point value 0.000000 */ 748 #define HPF_Fs22050_Gain10_Shift 2 /* Shift value */ 749 /* Gain = 11.000000 dB */ 750 #define HPF_Fs22050_Gain11_A0 (-3520) /* Floating point value -0.107417 */ 751 #define HPF_Fs22050_Gain11_A1 14667 /* Floating point value 0.447615 */ 752 #define HPF_Fs22050_Gain11_A2 0 /* Floating point value 0.000000 */ 753 #define HPF_Fs22050_Gain11_B1 12125 /* Floating point value 0.370033 */ 754 #define HPF_Fs22050_Gain11_B2 0 /* Floating point value 0.000000 */ 755 #define HPF_Fs22050_Gain11_Shift 2 /* Shift value */ 756 /* Gain = 12.000000 dB */ 757 #define HPF_Fs22050_Gain12_A0 (-4629) /* Floating point value -0.141279 */ 758 #define HPF_Fs22050_Gain12_A1 15777 /* Floating point value 0.481477 */ 759 #define HPF_Fs22050_Gain12_A2 0 /* Floating point value 0.000000 */ 760 #define HPF_Fs22050_Gain12_B1 12125 /* Floating point value 0.370033 */ 761 #define HPF_Fs22050_Gain12_B2 0 /* Floating point value 0.000000 */ 762 #define HPF_Fs22050_Gain12_Shift 2 /* Shift value */ 763 /* Gain = 13.000000 dB */ 764 #define HPF_Fs22050_Gain13_A0 (-2944) /* Floating point value -0.089849 */ 765 #define HPF_Fs22050_Gain13_A1 8531 /* Floating point value 0.260352 */ 766 #define HPF_Fs22050_Gain13_A2 0 /* Floating point value 0.000000 */ 767 #define HPF_Fs22050_Gain13_B1 12125 /* Floating point value 0.370033 */ 768 #define HPF_Fs22050_Gain13_B2 0 /* Floating point value 0.000000 */ 769 #define HPF_Fs22050_Gain13_Shift 3 /* Shift value */ 770 /* Gain = 14.000000 dB */ 771 #define HPF_Fs22050_Gain14_A0 (-3644) /* Floating point value -0.111215 */ 772 #define HPF_Fs22050_Gain14_A1 9231 /* Floating point value 0.281718 */ 773 #define HPF_Fs22050_Gain14_A2 0 /* Floating point value 0.000000 */ 774 #define HPF_Fs22050_Gain14_B1 12125 /* Floating point value 0.370033 */ 775 #define HPF_Fs22050_Gain14_B2 0 /* Floating point value 0.000000 */ 776 #define HPF_Fs22050_Gain14_Shift 3 /* Shift value */ 777 /* Gain = 15.000000 dB */ 778 #define HPF_Fs22050_Gain15_A0 (-4430) /* Floating point value -0.135187 */ 779 #define HPF_Fs22050_Gain15_A1 10017 /* Floating point value 0.305690 */ 780 #define HPF_Fs22050_Gain15_A2 0 /* Floating point value 0.000000 */ 781 #define HPF_Fs22050_Gain15_B1 12125 /* Floating point value 0.370033 */ 782 #define HPF_Fs22050_Gain15_B2 0 /* Floating point value 0.000000 */ 783 #define HPF_Fs22050_Gain15_Shift 3 /* Shift value */ 784 785 786 /* Coefficients for sample rate 24000Hz */ 787 /* Gain = 1.000000 dB */ 788 #define HPF_Fs24000_Gain1_A0 3625 /* Floating point value 0.110628 */ 789 #define HPF_Fs24000_Gain1_A1 16960 /* Floating point value 0.517578 */ 790 #define HPF_Fs24000_Gain1_A2 0 /* Floating point value 0.000000 */ 791 #define HPF_Fs24000_Gain1_B1 8780 /* Floating point value 0.267949 */ 792 #define HPF_Fs24000_Gain1_B2 0 /* Floating point value 0.000000 */ 793 #define HPF_Fs24000_Gain1_Shift 1 /* Shift value */ 794 /* Gain = 2.000000 dB */ 795 #define HPF_Fs24000_Gain2_A0 2811 /* Floating point value 0.085800 */ 796 #define HPF_Fs24000_Gain2_A1 17774 /* Floating point value 0.542406 */ 797 #define HPF_Fs24000_Gain2_A2 0 /* Floating point value 0.000000 */ 798 #define HPF_Fs24000_Gain2_B1 8780 /* Floating point value 0.267949 */ 799 #define HPF_Fs24000_Gain2_B2 0 /* Floating point value 0.000000 */ 800 #define HPF_Fs24000_Gain2_Shift 1 /* Shift value */ 801 /* Gain = 3.000000 dB */ 802 #define HPF_Fs24000_Gain3_A0 1899 /* Floating point value 0.057943 */ 803 #define HPF_Fs24000_Gain3_A1 18686 /* Floating point value 0.570263 */ 804 #define HPF_Fs24000_Gain3_A2 0 /* Floating point value 0.000000 */ 805 #define HPF_Fs24000_Gain3_B1 8780 /* Floating point value 0.267949 */ 806 #define HPF_Fs24000_Gain3_B2 0 /* Floating point value 0.000000 */ 807 #define HPF_Fs24000_Gain3_Shift 1 /* Shift value */ 808 /* Gain = 4.000000 dB */ 809 #define HPF_Fs24000_Gain4_A0 874 /* Floating point value 0.026687 */ 810 #define HPF_Fs24000_Gain4_A1 19711 /* Floating point value 0.601519 */ 811 #define HPF_Fs24000_Gain4_A2 0 /* Floating point value 0.000000 */ 812 #define HPF_Fs24000_Gain4_B1 8780 /* Floating point value 0.267949 */ 813 #define HPF_Fs24000_Gain4_B2 0 /* Floating point value 0.000000 */ 814 #define HPF_Fs24000_Gain4_Shift 1 /* Shift value */ 815 /* Gain = 5.000000 dB */ 816 #define HPF_Fs24000_Gain5_A0 (-275) /* Floating point value -0.008383 */ 817 #define HPF_Fs24000_Gain5_A1 20860 /* Floating point value 0.636589 */ 818 #define HPF_Fs24000_Gain5_A2 0 /* Floating point value 0.000000 */ 819 #define HPF_Fs24000_Gain5_B1 8780 /* Floating point value 0.267949 */ 820 #define HPF_Fs24000_Gain5_B2 0 /* Floating point value 0.000000 */ 821 #define HPF_Fs24000_Gain5_Shift 1 /* Shift value */ 822 /* Gain = 6.000000 dB */ 823 #define HPF_Fs24000_Gain6_A0 (-1564) /* Floating point value -0.047733 */ 824 #define HPF_Fs24000_Gain6_A1 22149 /* Floating point value 0.675938 */ 825 #define HPF_Fs24000_Gain6_A2 0 /* Floating point value 0.000000 */ 826 #define HPF_Fs24000_Gain6_B1 8780 /* Floating point value 0.267949 */ 827 #define HPF_Fs24000_Gain6_B2 0 /* Floating point value 0.000000 */ 828 #define HPF_Fs24000_Gain6_Shift 1 /* Shift value */ 829 /* Gain = 7.000000 dB */ 830 #define HPF_Fs24000_Gain7_A0 (-1509) /* Floating point value -0.046051 */ 831 #define HPF_Fs24000_Gain7_A1 11826 /* Floating point value 0.360899 */ 832 #define HPF_Fs24000_Gain7_A2 0 /* Floating point value 0.000000 */ 833 #define HPF_Fs24000_Gain7_B1 8780 /* Floating point value 0.267949 */ 834 #define HPF_Fs24000_Gain7_B2 0 /* Floating point value 0.000000 */ 835 #define HPF_Fs24000_Gain7_Shift 2 /* Shift value */ 836 /* Gain = 8.000000 dB */ 837 #define HPF_Fs24000_Gain8_A0 (-2323) /* Floating point value -0.070878 */ 838 #define HPF_Fs24000_Gain8_A1 12640 /* Floating point value 0.385727 */ 839 #define HPF_Fs24000_Gain8_A2 0 /* Floating point value 0.000000 */ 840 #define HPF_Fs24000_Gain8_B1 8780 /* Floating point value 0.267949 */ 841 #define HPF_Fs24000_Gain8_B2 0 /* Floating point value 0.000000 */ 842 #define HPF_Fs24000_Gain8_Shift 2 /* Shift value */ 843 /* Gain = 9.000000 dB */ 844 #define HPF_Fs24000_Gain9_A0 (-3235) /* Floating point value -0.098736 */ 845 #define HPF_Fs24000_Gain9_A1 13552 /* Floating point value 0.413584 */ 846 #define HPF_Fs24000_Gain9_A2 0 /* Floating point value 0.000000 */ 847 #define HPF_Fs24000_Gain9_B1 8780 /* Floating point value 0.267949 */ 848 #define HPF_Fs24000_Gain9_B2 0 /* Floating point value 0.000000 */ 849 #define HPF_Fs24000_Gain9_Shift 2 /* Shift value */ 850 /* Gain = 10.000000 dB */ 851 #define HPF_Fs24000_Gain10_A0 (-4260) /* Floating point value -0.129992 */ 852 #define HPF_Fs24000_Gain10_A1 14577 /* Floating point value 0.444841 */ 853 #define HPF_Fs24000_Gain10_A2 0 /* Floating point value 0.000000 */ 854 #define HPF_Fs24000_Gain10_B1 8780 /* Floating point value 0.267949 */ 855 #define HPF_Fs24000_Gain10_B2 0 /* Floating point value 0.000000 */ 856 #define HPF_Fs24000_Gain10_Shift 2 /* Shift value */ 857 /* Gain = 11.000000 dB */ 858 #define HPF_Fs24000_Gain11_A0 (-5409) /* Floating point value -0.165062 */ 859 #define HPF_Fs24000_Gain11_A1 15726 /* Floating point value 0.479911 */ 860 #define HPF_Fs24000_Gain11_A2 0 /* Floating point value 0.000000 */ 861 #define HPF_Fs24000_Gain11_B1 8780 /* Floating point value 0.267949 */ 862 #define HPF_Fs24000_Gain11_B2 0 /* Floating point value 0.000000 */ 863 #define HPF_Fs24000_Gain11_Shift 2 /* Shift value */ 864 /* Gain = 12.000000 dB */ 865 #define HPF_Fs24000_Gain12_A0 (-6698) /* Floating point value -0.204411 */ 866 #define HPF_Fs24000_Gain12_A1 17015 /* Floating point value 0.519260 */ 867 #define HPF_Fs24000_Gain12_A2 0 /* Floating point value 0.000000 */ 868 #define HPF_Fs24000_Gain12_B1 8780 /* Floating point value 0.267949 */ 869 #define HPF_Fs24000_Gain12_B2 0 /* Floating point value 0.000000 */ 870 #define HPF_Fs24000_Gain12_Shift 2 /* Shift value */ 871 /* Gain = 13.000000 dB */ 872 #define HPF_Fs24000_Gain13_A0 (-4082) /* Floating point value -0.124576 */ 873 #define HPF_Fs24000_Gain13_A1 9253 /* Floating point value 0.282374 */ 874 #define HPF_Fs24000_Gain13_A2 0 /* Floating point value 0.000000 */ 875 #define HPF_Fs24000_Gain13_B1 8780 /* Floating point value 0.267949 */ 876 #define HPF_Fs24000_Gain13_B2 0 /* Floating point value 0.000000 */ 877 #define HPF_Fs24000_Gain13_Shift 3 /* Shift value */ 878 /* Gain = 14.000000 dB */ 879 #define HPF_Fs24000_Gain14_A0 (-4896) /* Floating point value -0.149404 */ 880 #define HPF_Fs24000_Gain14_A1 10066 /* Floating point value 0.307202 */ 881 #define HPF_Fs24000_Gain14_A2 0 /* Floating point value 0.000000 */ 882 #define HPF_Fs24000_Gain14_B1 8780 /* Floating point value 0.267949 */ 883 #define HPF_Fs24000_Gain14_B2 0 /* Floating point value 0.000000 */ 884 #define HPF_Fs24000_Gain14_Shift 3 /* Shift value */ 885 /* Gain = 15.000000 dB */ 886 #define HPF_Fs24000_Gain15_A0 (-5808) /* Floating point value -0.177261 */ 887 #define HPF_Fs24000_Gain15_A1 10979 /* Floating point value 0.335059 */ 888 #define HPF_Fs24000_Gain15_A2 0 /* Floating point value 0.000000 */ 889 #define HPF_Fs24000_Gain15_B1 8780 /* Floating point value 0.267949 */ 890 #define HPF_Fs24000_Gain15_B2 0 /* Floating point value 0.000000 */ 891 #define HPF_Fs24000_Gain15_Shift 3 /* Shift value */ 892 893 894 /* Coefficients for sample rate 32000Hz */ 895 /* Gain = 1.000000 dB */ 896 #define HPF_Fs32000_Gain1_A0 17225 /* Floating point value 0.525677 */ 897 #define HPF_Fs32000_Gain1_A1 (-990) /* Floating point value -0.030227 */ 898 #define HPF_Fs32000_Gain1_A2 0 /* Floating point value 0.000000 */ 899 #define HPF_Fs32000_Gain1_B1 0 /* Floating point value -0.000000 */ 900 #define HPF_Fs32000_Gain1_B2 0 /* Floating point value 0.000000 */ 901 #define HPF_Fs32000_Gain1_Shift 1 /* Shift value */ 902 /* Gain = 2.000000 dB */ 903 #define HPF_Fs32000_Gain2_A0 18337 /* Floating point value 0.559593 */ 904 #define HPF_Fs32000_Gain2_A1 (-2102) /* Floating point value -0.064142 */ 905 #define HPF_Fs32000_Gain2_A2 0 /* Floating point value 0.000000 */ 906 #define HPF_Fs32000_Gain2_B1 0 /* Floating point value -0.000000 */ 907 #define HPF_Fs32000_Gain2_B2 0 /* Floating point value 0.000000 */ 908 #define HPF_Fs32000_Gain2_Shift 1 /* Shift value */ 909 /* Gain = 3.000000 dB */ 910 #define HPF_Fs32000_Gain3_A0 19584 /* Floating point value 0.597646 */ 911 #define HPF_Fs32000_Gain3_A1 (-3349) /* Floating point value -0.102196 */ 912 #define HPF_Fs32000_Gain3_A2 0 /* Floating point value 0.000000 */ 913 #define HPF_Fs32000_Gain3_B1 0 /* Floating point value -0.000000 */ 914 #define HPF_Fs32000_Gain3_B2 0 /* Floating point value 0.000000 */ 915 #define HPF_Fs32000_Gain3_Shift 1 /* Shift value */ 916 /* Gain = 4.000000 dB */ 917 #define HPF_Fs32000_Gain4_A0 20983 /* Floating point value 0.640343 */ 918 #define HPF_Fs32000_Gain4_A1 (-4748) /* Floating point value -0.144893 */ 919 #define HPF_Fs32000_Gain4_A2 0 /* Floating point value 0.000000 */ 920 #define HPF_Fs32000_Gain4_B1 0 /* Floating point value -0.000000 */ 921 #define HPF_Fs32000_Gain4_B2 0 /* Floating point value 0.000000 */ 922 #define HPF_Fs32000_Gain4_Shift 1 /* Shift value */ 923 /* Gain = 5.000000 dB */ 924 #define HPF_Fs32000_Gain5_A0 22553 /* Floating point value 0.688250 */ 925 #define HPF_Fs32000_Gain5_A1 (-6318) /* Floating point value -0.192799 */ 926 #define HPF_Fs32000_Gain5_A2 0 /* Floating point value 0.000000 */ 927 #define HPF_Fs32000_Gain5_B1 0 /* Floating point value -0.000000 */ 928 #define HPF_Fs32000_Gain5_B2 0 /* Floating point value 0.000000 */ 929 #define HPF_Fs32000_Gain5_Shift 1 /* Shift value */ 930 /* Gain = 6.000000 dB */ 931 #define HPF_Fs32000_Gain6_A0 24314 /* Floating point value 0.742002 */ 932 #define HPF_Fs32000_Gain6_A1 (-8079) /* Floating point value -0.246551 */ 933 #define HPF_Fs32000_Gain6_A2 0 /* Floating point value 0.000000 */ 934 #define HPF_Fs32000_Gain6_B1 0 /* Floating point value -0.000000 */ 935 #define HPF_Fs32000_Gain6_B2 0 /* Floating point value 0.000000 */ 936 #define HPF_Fs32000_Gain6_Shift 1 /* Shift value */ 937 /* Gain = 7.000000 dB */ 938 #define HPF_Fs32000_Gain7_A0 13176 /* Floating point value 0.402109 */ 939 #define HPF_Fs32000_Gain7_A1 (-5040) /* Floating point value -0.153795 */ 940 #define HPF_Fs32000_Gain7_A2 0 /* Floating point value 0.000000 */ 941 #define HPF_Fs32000_Gain7_B1 0 /* Floating point value -0.000000 */ 942 #define HPF_Fs32000_Gain7_B2 0 /* Floating point value 0.000000 */ 943 #define HPF_Fs32000_Gain7_Shift 2 /* Shift value */ 944 /* Gain = 8.000000 dB */ 945 #define HPF_Fs32000_Gain8_A0 14288 /* Floating point value 0.436024 */ 946 #define HPF_Fs32000_Gain8_A1 (-6151) /* Floating point value -0.187711 */ 947 #define HPF_Fs32000_Gain8_A2 0 /* Floating point value 0.000000 */ 948 #define HPF_Fs32000_Gain8_B1 0 /* Floating point value -0.000000 */ 949 #define HPF_Fs32000_Gain8_B2 0 /* Floating point value 0.000000 */ 950 #define HPF_Fs32000_Gain8_Shift 2 /* Shift value */ 951 /* Gain = 9.000000 dB */ 952 #define HPF_Fs32000_Gain9_A0 15535 /* Floating point value 0.474078 */ 953 #define HPF_Fs32000_Gain9_A1 (-7398) /* Floating point value -0.225764 */ 954 #define HPF_Fs32000_Gain9_A2 0 /* Floating point value 0.000000 */ 955 #define HPF_Fs32000_Gain9_B1 0 /* Floating point value -0.000000 */ 956 #define HPF_Fs32000_Gain9_B2 0 /* Floating point value 0.000000 */ 957 #define HPF_Fs32000_Gain9_Shift 2 /* Shift value */ 958 /* Gain = 10.000000 dB */ 959 #define HPF_Fs32000_Gain10_A0 16934 /* Floating point value 0.516774 */ 960 #define HPF_Fs32000_Gain10_A1 (-8797) /* Floating point value -0.268461 */ 961 #define HPF_Fs32000_Gain10_A2 0 /* Floating point value 0.000000 */ 962 #define HPF_Fs32000_Gain10_B1 0 /* Floating point value -0.000000 */ 963 #define HPF_Fs32000_Gain10_B2 0 /* Floating point value 0.000000 */ 964 #define HPF_Fs32000_Gain10_Shift 2 /* Shift value */ 965 /* Gain = 11.000000 dB */ 966 #define HPF_Fs32000_Gain11_A0 18503 /* Floating point value 0.564681 */ 967 #define HPF_Fs32000_Gain11_A1 (-10367) /* Floating point value -0.316368 */ 968 #define HPF_Fs32000_Gain11_A2 0 /* Floating point value 0.000000 */ 969 #define HPF_Fs32000_Gain11_B1 0 /* Floating point value -0.000000 */ 970 #define HPF_Fs32000_Gain11_B2 0 /* Floating point value 0.000000 */ 971 #define HPF_Fs32000_Gain11_Shift 2 /* Shift value */ 972 /* Gain = 12.000000 dB */ 973 #define HPF_Fs32000_Gain12_A0 20265 /* Floating point value 0.618433 */ 974 #define HPF_Fs32000_Gain12_A1 (-12128) /* Floating point value -0.370120 */ 975 #define HPF_Fs32000_Gain12_A2 0 /* Floating point value 0.000000 */ 976 #define HPF_Fs32000_Gain12_B1 0 /* Floating point value -0.000000 */ 977 #define HPF_Fs32000_Gain12_B2 0 /* Floating point value 0.000000 */ 978 #define HPF_Fs32000_Gain12_Shift 2 /* Shift value */ 979 /* Gain = 13.000000 dB */ 980 #define HPF_Fs32000_Gain13_A0 11147 /* Floating point value 0.340178 */ 981 #define HPF_Fs32000_Gain13_A1 (-7069) /* Floating point value -0.215726 */ 982 #define HPF_Fs32000_Gain13_A2 0 /* Floating point value 0.000000 */ 983 #define HPF_Fs32000_Gain13_B1 0 /* Floating point value -0.000000 */ 984 #define HPF_Fs32000_Gain13_B2 0 /* Floating point value 0.000000 */ 985 #define HPF_Fs32000_Gain13_Shift 3 /* Shift value */ 986 /* Gain = 14.000000 dB */ 987 #define HPF_Fs32000_Gain14_A0 12258 /* Floating point value 0.374093 */ 988 #define HPF_Fs32000_Gain14_A1 (-8180) /* Floating point value -0.249642 */ 989 #define HPF_Fs32000_Gain14_A2 0 /* Floating point value 0.000000 */ 990 #define HPF_Fs32000_Gain14_B1 0 /* Floating point value -0.000000 */ 991 #define HPF_Fs32000_Gain14_B2 0 /* Floating point value 0.000000 */ 992 #define HPF_Fs32000_Gain14_Shift 3 /* Shift value */ 993 /* Gain = 15.000000 dB */ 994 #define HPF_Fs32000_Gain15_A0 13505 /* Floating point value 0.412147 */ 995 #define HPF_Fs32000_Gain15_A1 (-9427) /* Floating point value -0.287695 */ 996 #define HPF_Fs32000_Gain15_A2 0 /* Floating point value 0.000000 */ 997 #define HPF_Fs32000_Gain15_B1 0 /* Floating point value -0.000000 */ 998 #define HPF_Fs32000_Gain15_B2 0 /* Floating point value 0.000000 */ 999 #define HPF_Fs32000_Gain15_Shift 3 /* Shift value */ 1000 1001 1002 /* Coefficients for sample rate 44100Hz */ 1003 /* Gain = 1.000000 dB */ 1004 #define HPF_Fs44100_Gain1_A0 17442 /* Floating point value 0.532294 */ 1005 #define HPF_Fs44100_Gain1_A1 (-4761) /* Floating point value -0.145294 */ 1006 #define HPF_Fs44100_Gain1_A2 0 /* Floating point value 0.000000 */ 1007 #define HPF_Fs44100_Gain1_B1 (-7173) /* Floating point value -0.218894 */ 1008 #define HPF_Fs44100_Gain1_B2 0 /* Floating point value 0.000000 */ 1009 #define HPF_Fs44100_Gain1_Shift 1 /* Shift value */ 1010 /* Gain = 2.000000 dB */ 1011 #define HPF_Fs44100_Gain2_A0 18797 /* Floating point value 0.573633 */ 1012 #define HPF_Fs44100_Gain2_A1 (-6116) /* Floating point value -0.186634 */ 1013 #define HPF_Fs44100_Gain2_A2 0 /* Floating point value 0.000000 */ 1014 #define HPF_Fs44100_Gain2_B1 (-7173) /* Floating point value -0.218894 */ 1015 #define HPF_Fs44100_Gain2_B2 0 /* Floating point value 0.000000 */ 1016 #define HPF_Fs44100_Gain2_Shift 1 /* Shift value */ 1017 /* Gain = 3.000000 dB */ 1018 #define HPF_Fs44100_Gain3_A0 20317 /* Floating point value 0.620016 */ 1019 #define HPF_Fs44100_Gain3_A1 (-7635) /* Floating point value -0.233017 */ 1020 #define HPF_Fs44100_Gain3_A2 0 /* Floating point value 0.000000 */ 1021 #define HPF_Fs44100_Gain3_B1 (-7173) /* Floating point value -0.218894 */ 1022 #define HPF_Fs44100_Gain3_B2 0 /* Floating point value 0.000000 */ 1023 #define HPF_Fs44100_Gain3_Shift 1 /* Shift value */ 1024 /* Gain = 4.000000 dB */ 1025 #define HPF_Fs44100_Gain4_A0 22022 /* Floating point value 0.672059 */ 1026 #define HPF_Fs44100_Gain4_A1 (-9341) /* Floating point value -0.285060 */ 1027 #define HPF_Fs44100_Gain4_A2 0 /* Floating point value 0.000000 */ 1028 #define HPF_Fs44100_Gain4_B1 (-7173) /* Floating point value -0.218894 */ 1029 #define HPF_Fs44100_Gain4_B2 0 /* Floating point value 0.000000 */ 1030 #define HPF_Fs44100_Gain4_Shift 1 /* Shift value */ 1031 /* Gain = 5.000000 dB */ 1032 #define HPF_Fs44100_Gain5_A0 23935 /* Floating point value 0.730452 */ 1033 #define HPF_Fs44100_Gain5_A1 (-11254) /* Floating point value -0.343453 */ 1034 #define HPF_Fs44100_Gain5_A2 0 /* Floating point value 0.000000 */ 1035 #define HPF_Fs44100_Gain5_B1 (-7173) /* Floating point value -0.218894 */ 1036 #define HPF_Fs44100_Gain5_B2 0 /* Floating point value 0.000000 */ 1037 #define HPF_Fs44100_Gain5_Shift 1 /* Shift value */ 1038 /* Gain = 6.000000 dB */ 1039 #define HPF_Fs44100_Gain6_A0 26082 /* Floating point value 0.795970 */ 1040 #define HPF_Fs44100_Gain6_A1 (-13401) /* Floating point value -0.408971 */ 1041 #define HPF_Fs44100_Gain6_A2 0 /* Floating point value 0.000000 */ 1042 #define HPF_Fs44100_Gain6_B1 (-7173) /* Floating point value -0.218894 */ 1043 #define HPF_Fs44100_Gain6_B2 0 /* Floating point value 0.000000 */ 1044 #define HPF_Fs44100_Gain6_Shift 1 /* Shift value */ 1045 /* Gain = 7.000000 dB */ 1046 #define HPF_Fs44100_Gain7_A0 14279 /* Floating point value 0.435774 */ 1047 #define HPF_Fs44100_Gain7_A1 (-7924) /* Floating point value -0.241815 */ 1048 #define HPF_Fs44100_Gain7_A2 0 /* Floating point value 0.000000 */ 1049 #define HPF_Fs44100_Gain7_B1 (-7173) /* Floating point value -0.218894 */ 1050 #define HPF_Fs44100_Gain7_B2 0 /* Floating point value 0.000000 */ 1051 #define HPF_Fs44100_Gain7_Shift 2 /* Shift value */ 1052 /* Gain = 8.000000 dB */ 1053 #define HPF_Fs44100_Gain8_A0 15634 /* Floating point value 0.477113 */ 1054 #define HPF_Fs44100_Gain8_A1 (-9278) /* Floating point value -0.283154 */ 1055 #define HPF_Fs44100_Gain8_A2 0 /* Floating point value 0.000000 */ 1056 #define HPF_Fs44100_Gain8_B1 (-7173) /* Floating point value -0.218894 */ 1057 #define HPF_Fs44100_Gain8_B2 0 /* Floating point value 0.000000 */ 1058 #define HPF_Fs44100_Gain8_Shift 2 /* Shift value */ 1059 /* Gain = 9.000000 dB */ 1060 #define HPF_Fs44100_Gain9_A0 17154 /* Floating point value 0.523496 */ 1061 #define HPF_Fs44100_Gain9_A1 (-10798) /* Floating point value -0.329537 */ 1062 #define HPF_Fs44100_Gain9_A2 0 /* Floating point value 0.000000 */ 1063 #define HPF_Fs44100_Gain9_B1 (-7173) /* Floating point value -0.218894 */ 1064 #define HPF_Fs44100_Gain9_B2 0 /* Floating point value 0.000000 */ 1065 #define HPF_Fs44100_Gain9_Shift 2 /* Shift value */ 1066 /* Gain = 10.000000 dB */ 1067 #define HPF_Fs44100_Gain10_A0 18859 /* Floating point value 0.575539 */ 1068 #define HPF_Fs44100_Gain10_A1 (-12504) /* Floating point value -0.381580 */ 1069 #define HPF_Fs44100_Gain10_A2 0 /* Floating point value 0.000000 */ 1070 #define HPF_Fs44100_Gain10_B1 (-7173) /* Floating point value -0.218894 */ 1071 #define HPF_Fs44100_Gain10_B2 0 /* Floating point value 0.000000 */ 1072 #define HPF_Fs44100_Gain10_Shift 2 /* Shift value */ 1073 /* Gain = 11.000000 dB */ 1074 #define HPF_Fs44100_Gain11_A0 20773 /* Floating point value 0.633932 */ 1075 #define HPF_Fs44100_Gain11_A1 (-14417) /* Floating point value -0.439973 */ 1076 #define HPF_Fs44100_Gain11_A2 0 /* Floating point value 0.000000 */ 1077 #define HPF_Fs44100_Gain11_B1 (-7173) /* Floating point value -0.218894 */ 1078 #define HPF_Fs44100_Gain11_B2 0 /* Floating point value 0.000000 */ 1079 #define HPF_Fs44100_Gain11_Shift 2 /* Shift value */ 1080 /* Gain = 12.000000 dB */ 1081 #define HPF_Fs44100_Gain12_A0 22920 /* Floating point value 0.699450 */ 1082 #define HPF_Fs44100_Gain12_A1 (-16564) /* Floating point value -0.505491 */ 1083 #define HPF_Fs44100_Gain12_A2 0 /* Floating point value 0.000000 */ 1084 #define HPF_Fs44100_Gain12_B1 (-7173) /* Floating point value -0.218894 */ 1085 #define HPF_Fs44100_Gain12_B2 0 /* Floating point value 0.000000 */ 1086 #define HPF_Fs44100_Gain12_Shift 2 /* Shift value */ 1087 /* Gain = 13.000000 dB */ 1088 #define HPF_Fs44100_Gain13_A0 12694 /* Floating point value 0.387399 */ 1089 #define HPF_Fs44100_Gain13_A1 (-9509) /* Floating point value -0.290189 */ 1090 #define HPF_Fs44100_Gain13_A2 0 /* Floating point value 0.000000 */ 1091 #define HPF_Fs44100_Gain13_B1 (-7173) /* Floating point value -0.218894 */ 1092 #define HPF_Fs44100_Gain13_B2 0 /* Floating point value 0.000000 */ 1093 #define HPF_Fs44100_Gain13_Shift 3 /* Shift value */ 1094 /* Gain = 14.000000 dB */ 1095 #define HPF_Fs44100_Gain14_A0 14049 /* Floating point value 0.428738 */ 1096 #define HPF_Fs44100_Gain14_A1 (-10864) /* Floating point value -0.331528 */ 1097 #define HPF_Fs44100_Gain14_A2 0 /* Floating point value 0.000000 */ 1098 #define HPF_Fs44100_Gain14_B1 (-7173) /* Floating point value -0.218894 */ 1099 #define HPF_Fs44100_Gain14_B2 0 /* Floating point value 0.000000 */ 1100 #define HPF_Fs44100_Gain14_Shift 3 /* Shift value */ 1101 /* Gain = 15.000000 dB */ 1102 #define HPF_Fs44100_Gain15_A0 15569 /* Floating point value 0.475121 */ 1103 #define HPF_Fs44100_Gain15_A1 (-12383) /* Floating point value -0.377912 */ 1104 #define HPF_Fs44100_Gain15_A2 0 /* Floating point value 0.000000 */ 1105 #define HPF_Fs44100_Gain15_B1 (-7173) /* Floating point value -0.218894 */ 1106 #define HPF_Fs44100_Gain15_B2 0 /* Floating point value 0.000000 */ 1107 #define HPF_Fs44100_Gain15_Shift 3 /* Shift value */ 1108 1109 1110 /* Coefficients for sample rate 48000Hz */ 1111 /* Gain = 1.000000 dB */ 1112 #define HPF_Fs48000_Gain1_A0 17491 /* Floating point value 0.533777 */ 1113 #define HPF_Fs48000_Gain1_A1 (-5606) /* Floating point value -0.171082 */ 1114 #define HPF_Fs48000_Gain1_A2 0 /* Floating point value 0.000000 */ 1115 #define HPF_Fs48000_Gain1_B1 (-8780) /* Floating point value -0.267949 */ 1116 #define HPF_Fs48000_Gain1_B2 0 /* Floating point value 0.000000 */ 1117 #define HPF_Fs48000_Gain1_Shift 1 /* Shift value */ 1118 /* Gain = 2.000000 dB */ 1119 #define HPF_Fs48000_Gain2_A0 18900 /* Floating point value 0.576779 */ 1120 #define HPF_Fs48000_Gain2_A1 (-7015) /* Floating point value -0.214085 */ 1121 #define HPF_Fs48000_Gain2_A2 0 /* Floating point value 0.000000 */ 1122 #define HPF_Fs48000_Gain2_B1 (-8780) /* Floating point value -0.267949 */ 1123 #define HPF_Fs48000_Gain2_B2 0 /* Floating point value 0.000000 */ 1124 #define HPF_Fs48000_Gain2_Shift 1 /* Shift value */ 1125 /* Gain = 3.000000 dB */ 1126 #define HPF_Fs48000_Gain3_A0 20481 /* Floating point value 0.625029 */ 1127 #define HPF_Fs48000_Gain3_A1 (-8596) /* Floating point value -0.262335 */ 1128 #define HPF_Fs48000_Gain3_A2 0 /* Floating point value 0.000000 */ 1129 #define HPF_Fs48000_Gain3_B1 (-8780) /* Floating point value -0.267949 */ 1130 #define HPF_Fs48000_Gain3_B2 0 /* Floating point value 0.000000 */ 1131 #define HPF_Fs48000_Gain3_Shift 1 /* Shift value */ 1132 /* Gain = 4.000000 dB */ 1133 #define HPF_Fs48000_Gain4_A0 22255 /* Floating point value 0.679167 */ 1134 #define HPF_Fs48000_Gain4_A1 (-10370) /* Floating point value -0.316472 */ 1135 #define HPF_Fs48000_Gain4_A2 0 /* Floating point value 0.000000 */ 1136 #define HPF_Fs48000_Gain4_B1 (-8780) /* Floating point value -0.267949 */ 1137 #define HPF_Fs48000_Gain4_B2 0 /* Floating point value 0.000000 */ 1138 #define HPF_Fs48000_Gain4_Shift 1 /* Shift value */ 1139 /* Gain = 5.000000 dB */ 1140 #define HPF_Fs48000_Gain5_A0 24245 /* Floating point value 0.739910 */ 1141 #define HPF_Fs48000_Gain5_A1 (-12361) /* Floating point value -0.377215 */ 1142 #define HPF_Fs48000_Gain5_A2 0 /* Floating point value 0.000000 */ 1143 #define HPF_Fs48000_Gain5_B1 (-8780) /* Floating point value -0.267949 */ 1144 #define HPF_Fs48000_Gain5_B2 0 /* Floating point value 0.000000 */ 1145 #define HPF_Fs48000_Gain5_Shift 1 /* Shift value */ 1146 /* Gain = 6.000000 dB */ 1147 #define HPF_Fs48000_Gain6_A0 26479 /* Floating point value 0.808065 */ 1148 #define HPF_Fs48000_Gain6_A1 (-14594) /* Floating point value -0.445370 */ 1149 #define HPF_Fs48000_Gain6_A2 0 /* Floating point value 0.000000 */ 1150 #define HPF_Fs48000_Gain6_B1 (-8780) /* Floating point value -0.267949 */ 1151 #define HPF_Fs48000_Gain6_B2 0 /* Floating point value 0.000000 */ 1152 #define HPF_Fs48000_Gain6_Shift 1 /* Shift value */ 1153 /* Gain = 7.000000 dB */ 1154 #define HPF_Fs48000_Gain7_A0 14527 /* Floating point value 0.443318 */ 1155 #define HPF_Fs48000_Gain7_A1 (-8570) /* Floating point value -0.261540 */ 1156 #define HPF_Fs48000_Gain7_A2 0 /* Floating point value 0.000000 */ 1157 #define HPF_Fs48000_Gain7_B1 (-8780) /* Floating point value -0.267949 */ 1158 #define HPF_Fs48000_Gain7_B2 0 /* Floating point value 0.000000 */ 1159 #define HPF_Fs48000_Gain7_Shift 2 /* Shift value */ 1160 /* Gain = 8.000000 dB */ 1161 #define HPF_Fs48000_Gain8_A0 15936 /* Floating point value 0.486321 */ 1162 #define HPF_Fs48000_Gain8_A1 (-9979) /* Floating point value -0.304543 */ 1163 #define HPF_Fs48000_Gain8_A2 0 /* Floating point value 0.000000 */ 1164 #define HPF_Fs48000_Gain8_B1 (-8780) /* Floating point value -0.267949 */ 1165 #define HPF_Fs48000_Gain8_B2 0 /* Floating point value 0.000000 */ 1166 #define HPF_Fs48000_Gain8_Shift 2 /* Shift value */ 1167 /* Gain = 9.000000 dB */ 1168 #define HPF_Fs48000_Gain9_A0 17517 /* Floating point value 0.534571 */ 1169 #define HPF_Fs48000_Gain9_A1 (-11560) /* Floating point value -0.352793 */ 1170 #define HPF_Fs48000_Gain9_A2 0 /* Floating point value 0.000000 */ 1171 #define HPF_Fs48000_Gain9_B1 (-8780) /* Floating point value -0.267949 */ 1172 #define HPF_Fs48000_Gain9_B2 0 /* Floating point value 0.000000 */ 1173 #define HPF_Fs48000_Gain9_Shift 2 /* Shift value */ 1174 /* Gain = 10.000000 dB */ 1175 #define HPF_Fs48000_Gain10_A0 19291 /* Floating point value 0.588708 */ 1176 #define HPF_Fs48000_Gain10_A1 (-13334) /* Floating point value -0.406930 */ 1177 #define HPF_Fs48000_Gain10_A2 0 /* Floating point value 0.000000 */ 1178 #define HPF_Fs48000_Gain10_B1 (-8780) /* Floating point value -0.267949 */ 1179 #define HPF_Fs48000_Gain10_B2 0 /* Floating point value 0.000000 */ 1180 #define HPF_Fs48000_Gain10_Shift 2 /* Shift value */ 1181 /* Gain = 11.000000 dB */ 1182 #define HPF_Fs48000_Gain11_A0 21281 /* Floating point value 0.649452 */ 1183 #define HPF_Fs48000_Gain11_A1 (-15325) /* Floating point value -0.467674 */ 1184 #define HPF_Fs48000_Gain11_A2 0 /* Floating point value 0.000000 */ 1185 #define HPF_Fs48000_Gain11_B1 (-8780) /* Floating point value -0.267949 */ 1186 #define HPF_Fs48000_Gain11_B2 0 /* Floating point value 0.000000 */ 1187 #define HPF_Fs48000_Gain11_Shift 2 /* Shift value */ 1188 /* Gain = 12.000000 dB */ 1189 #define HPF_Fs48000_Gain12_A0 23515 /* Floating point value 0.717607 */ 1190 #define HPF_Fs48000_Gain12_A1 (-17558) /* Floating point value -0.535829 */ 1191 #define HPF_Fs48000_Gain12_A2 0 /* Floating point value 0.000000 */ 1192 #define HPF_Fs48000_Gain12_B1 (-8780) /* Floating point value -0.267949 */ 1193 #define HPF_Fs48000_Gain12_B2 0 /* Floating point value 0.000000 */ 1194 #define HPF_Fs48000_Gain12_Shift 2 /* Shift value */ 1195 /* Gain = 13.000000 dB */ 1196 #define HPF_Fs48000_Gain13_A0 13041 /* Floating point value 0.397982 */ 1197 #define HPF_Fs48000_Gain13_A1 (-10056) /* Floating point value -0.306877 */ 1198 #define HPF_Fs48000_Gain13_A2 0 /* Floating point value 0.000000 */ 1199 #define HPF_Fs48000_Gain13_B1 (-8780) /* Floating point value -0.267949 */ 1200 #define HPF_Fs48000_Gain13_B2 0 /* Floating point value 0.000000 */ 1201 #define HPF_Fs48000_Gain13_Shift 3 /* Shift value */ 1202 /* Gain = 14.000000 dB */ 1203 #define HPF_Fs48000_Gain14_A0 14450 /* Floating point value 0.440984 */ 1204 #define HPF_Fs48000_Gain14_A1 (-11465) /* Floating point value -0.349880 */ 1205 #define HPF_Fs48000_Gain14_A2 0 /* Floating point value 0.000000 */ 1206 #define HPF_Fs48000_Gain14_B1 (-8780) /* Floating point value -0.267949 */ 1207 #define HPF_Fs48000_Gain14_B2 0 /* Floating point value 0.000000 */ 1208 #define HPF_Fs48000_Gain14_Shift 3 /* Shift value */ 1209 /* Gain = 15.000000 dB */ 1210 #define HPF_Fs48000_Gain15_A0 16031 /* Floating point value 0.489234 */ 1211 #define HPF_Fs48000_Gain15_A1 (-13046) /* Floating point value -0.398130 */ 1212 #define HPF_Fs48000_Gain15_A2 0 /* Floating point value 0.000000 */ 1213 #define HPF_Fs48000_Gain15_B1 (-8780) /* Floating point value -0.267949 */ 1214 #define HPF_Fs48000_Gain15_B2 0 /* Floating point value 0.000000 */ 1215 #define HPF_Fs48000_Gain15_Shift 3 /* Shift value */ 1216 1217 1218 #endif 1219 #endif