comparison examples/10-Instruments/d-box/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 #define ENABLE_NE10_FIR_FLOAT_NEON // Define needed for Ne10 library
12 #include <ne10/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_ */