comparison examples/04-Audio/filter-FIR/FIRfilter.h @ 464:8fcfbfb32aa0 prerelease

Examples reorder with subdirectories. Added header to each project. Moved Doxygen to bottom of render.cpp.
author Robert Jack <robert.h.jack@gmail.com>
date Mon, 20 Jun 2016 16:20:38 +0100
parents
children
comparison
equal deleted inserted replaced
463:c47709e8b5c9 464:8fcfbfb32aa0
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_ */