FIRfilter.h
1 /*
2  * FIRfilter.h
3  *
4  * Created on: Aug 5, 2014
5  * Author: Victor Zappi and Andrew McPherson
6  */
7 
8 #ifndef FIRFILTER_H_
9 #define FIRFILTER_H_
10 
11 
12 #include <ne10/NE10.h>
13 
14 #define FILTER_TAP_NUM 31
15 
16 // Coefficients for FIR High Pass Filter at 3 KHz
17 ne10_float32_t filterTaps[FILTER_TAP_NUM] = {
18  -0.000055,
19  0.000318,
20  0.001401,
21  0.003333,
22  0.005827,
23  0.007995,
24  0.008335,
25  0.004991,
26  -0.003764,
27  -0.018906,
28  -0.040112,
29  -0.065486,
30  -0.091722,
31  -0.114710,
32  -0.130454,
33  0.863946,
34  -0.130454,
35  -0.114710,
36  -0.091722,
37  -0.065486,
38  -0.040112,
39  -0.018906,
40  -0.003764,
41  0.004991,
42  0.008335,
43  0.007995,
44  0.005827,
45  0.003333,
46  0.001401,
47  0.000318,
48  -0.000055
49 };
50 
51 #endif /* FIRFILTER_H_ */