Mercurial > hg > beaglert
comparison projects/d-box/FIRfilter.h @ 0:8a575ba3ab52
Initial commit.
author | andrewm |
---|---|
date | Fri, 31 Oct 2014 19:10:17 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8a575ba3ab52 |
---|---|
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.h> | |
13 | |
14 //#define FILTER_TAP_NUM 21 | |
15 //ne10_float32_t filterTaps[FILTER_TAP_NUM] = { | |
16 // 0.000350, | |
17 // 0.001133, | |
18 // 0.002407, | |
19 // 0.004203, | |
20 // 0.006468, | |
21 // 0.009057, | |
22 // 0.011748, | |
23 // 0.014265, | |
24 // 0.016323, | |
25 // 0.017671, | |
26 // 0.018141, | |
27 // 0.017671, | |
28 // 0.016323, | |
29 // 0.014265, | |
30 // 0.011748, | |
31 // 0.009057, | |
32 // 0.006468, | |
33 // 0.004203, | |
34 // 0.002407, | |
35 // 0.001133, | |
36 // 0.000350 | |
37 //}; | |
38 #define FILTER_TAP_NUM 31 | |
39 ne10_float32_t filterTaps[FILTER_TAP_NUM] = { | |
40 0.000018, | |
41 0.000043, | |
42 0.000078, | |
43 0.000125, | |
44 0.000183, | |
45 0.000252, | |
46 0.000330, | |
47 0.000415, | |
48 0.000504, | |
49 0.000592, | |
50 0.000677, | |
51 0.000754, | |
52 0.000818, | |
53 0.000866, | |
54 0.000897, | |
55 0.000907, | |
56 0.000897, | |
57 0.000866, | |
58 0.000818, | |
59 0.000754, | |
60 0.000677, | |
61 0.000592, | |
62 0.000504, | |
63 0.000415, | |
64 0.000330, | |
65 0.000252, | |
66 0.000183, | |
67 0.000125, | |
68 0.000078, | |
69 0.000043, | |
70 0.000018 | |
71 }; | |
72 | |
73 #endif /* FIRFILTER_H_ */ |