This repository has been archived by the owner on Aug 28, 2018. It is now read-only.
forked from Sleepwalking/libllsm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfilter-coef.h
97 lines (88 loc) · 5.71 KB
/
filter-coef.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// The following are program-generated codes and are not supposed to be modified by hand.
#ifndef LLSM_FILTER_COEF
#define LLSM_FILTER_COEF
#include "common.h"
static const int coef_size = 5;
static const int filter_number = 18;
static const FP_TYPE step_freq = 0.050000;
static const FP_TYPE cheby_l_a[90] = {
1.000000000, -3.788195930, 5.408811675, -3.448996763, 0.828591512,
1.000000000, -3.532813347, 4.781856314, -2.932753108, 0.686795371,
1.000000000, -3.239608034, 4.144202270, -2.459859426, 0.569637405,
1.000000000, -2.914102515, 3.517927191, -2.034742900, 0.472910940,
1.000000000, -2.561411157, 2.922161362, -1.658601160, 0.393089206,
1.000000000, -2.186134849, 2.373381340, -1.330121111, 0.327253386,
1.000000000, -1.792313556, 1.885840793, -1.045994952, 0.273037114,
1.000000000, -1.383421277, 1.472058540, -0.801246157, 0.228590366,
1.000000000, -0.962388395, 1.143310818, -0.589376216, 0.192567905,
1.000000000, -0.531638823, 0.910094371, -0.402337669, 0.164150345,
1.000000000, -0.093132564, 0.782538750, -0.230330869, 0.143110277,
1.000000000, 0.351591853, 0.770750076, -0.061411596, 0.129942893,
1.000000000, 0.801375483, 0.885063207, 0.119114456, 0.126091700,
1.000000000, 1.255389507, 1.136161200, 0.329542835, 0.134317747,
1.000000000, 1.713053530, 1.534981319, 0.592896931, 0.159288598,
1.000000000, 2.173862832, 2.092246864, 0.938323039, 0.208505247,
1.000000000, 2.636994332, 2.817305662, 1.402618742, 0.293742327,
1.000000000, 3.100413839, 3.715646460, 2.031400065, 0.433235157
};
static const FP_TYPE cheby_l_b[90] = {
0.000012420, 0.000049680, 0.000074520, 0.000049680, 0.000012420,
0.000182040, 0.000728161, 0.001092242, 0.000728161, 0.000182040,
0.000848015, 0.003392061, 0.005088092, 0.003392061, 0.000848015,
0.002477730, 0.009910920, 0.014866380, 0.009910920, 0.002477730,
0.005619419, 0.022477677, 0.033716515, 0.022477677, 0.005619419,
0.010879049, 0.043516195, 0.065274292, 0.043516195, 0.010879049,
0.018914814, 0.075659257, 0.113488885, 0.075659257, 0.018914814,
0.030444870, 0.121779480, 0.182669220, 0.121779480, 0.030444870,
0.046265716, 0.185062864, 0.277594296, 0.185062864, 0.046265716,
0.067280164, 0.269120655, 0.403680982, 0.269120655, 0.067280164,
0.094535046, 0.378140184, 0.567210276, 0.378140184, 0.094535046,
0.129269856, 0.517079424, 0.775619136, 0.517079424, 0.129269856,
0.172978200, 0.691912801, 1.037869201, 0.691912801, 0.172978200,
0.227483935, 0.909935740, 1.364903610, 0.909935740, 0.227483935,
0.295032027, 1.180128108, 1.770192162, 1.180128108, 0.295032027,
0.378387741, 1.513550963, 2.270326444, 1.513550963, 0.378387741,
0.480920014, 1.923680056, 2.885520085, 1.923680056, 0.480920014,
0.606600151, 2.426400606, 3.639600909, 2.426400606, 0.606600151
};
static const FP_TYPE cheby_h_a[90] = {
1.000000000, -3.558915588, 4.783881836, -2.878496529, 0.654833521,
1.000000000, -3.100413839, 3.715646460, -2.031400065, 0.433235157,
1.000000000, -2.636994332, 2.817305662, -1.402618742, 0.293742327,
1.000000000, -2.173862832, 2.092246864, -0.938323039, 0.208505247,
1.000000000, -1.713053530, 1.534981319, -0.592896931, 0.159288598,
1.000000000, -1.255389507, 1.136161200, -0.329542835, 0.134317747,
1.000000000, -0.801375483, 0.885063207, -0.119114456, 0.126091700,
1.000000000, -0.351591853, 0.770750076, 0.061411596, 0.129942893,
1.000000000, 0.093132564, 0.782538750, 0.230330869, 0.143110277,
1.000000000, 0.531638823, 0.910094371, 0.402337669, 0.164150345,
1.000000000, 0.962388395, 1.143310818, 0.589376216, 0.192567905,
1.000000000, 1.383421277, 1.472058540, 0.801246157, 0.228590366,
1.000000000, 1.792313556, 1.885840793, 1.045994952, 0.273037114,
1.000000000, 2.186134849, 2.373381340, 1.330121111, 0.327253386,
1.000000000, 2.561411157, 2.922161362, 1.658601160, 0.393089206,
1.000000000, 2.914102515, 3.517927191, 2.034742900, 0.472910940,
1.000000000, 3.239608034, 4.144202270, 2.459859426, 0.569637405,
1.000000000, 3.532813347, 4.781856314, 2.932753108, 0.686795371
};
static const FP_TYPE cheby_h_b[90] = {
0.759740512, -3.038962046, 4.558443070, -3.038962046, 0.759740512,
0.606600151, -2.426400606, 3.639600909, -2.426400606, 0.606600151,
0.480920014, -1.923680056, 2.885520085, -1.923680056, 0.480920014,
0.378387741, -1.513550963, 2.270326444, -1.513550963, 0.378387741,
0.295032027, -1.180128108, 1.770192162, -1.180128108, 0.295032027,
0.227483935, -0.909935740, 1.364903610, -0.909935740, 0.227483935,
0.172978200, -0.691912801, 1.037869201, -0.691912801, 0.172978200,
0.129269856, -0.517079424, 0.775619136, -0.517079424, 0.129269856,
0.094535046, -0.378140184, 0.567210276, -0.378140184, 0.094535046,
0.067280164, -0.269120655, 0.403680982, -0.269120655, 0.067280164,
0.046265716, -0.185062864, 0.277594296, -0.185062864, 0.046265716,
0.030444870, -0.121779480, 0.182669220, -0.121779480, 0.030444870,
0.018914814, -0.075659257, 0.113488885, -0.075659257, 0.018914814,
0.010879049, -0.043516195, 0.065274292, -0.043516195, 0.010879049,
0.005619419, -0.022477677, 0.033716515, -0.022477677, 0.005619419,
0.002477730, -0.009910920, 0.014866380, -0.009910920, 0.002477730,
0.000848015, -0.003392061, 0.005088092, -0.003392061, 0.000848015,
0.000182040, -0.000728161, 0.001092242, -0.000728161, 0.000182040
};
#endif