annotate examples/filter_FIR/FIRfilter.h @ 300:dbeed520b014
prerelease
Renamed projects to examples
author |
Giulio Moro <giuliomoro@yahoo.it> |
date |
Fri, 27 May 2016 13:58:20 +0100 |
parents |
projects/filter_FIR/FIRfilter.h@021ac8a1a4f9 |
children |
24c3a0663d54 |
rev |
line source |
victor@2
|
1 /*
|
victor@2
|
2 * FIRfilter.h
|
victor@2
|
3 *
|
victor@2
|
4 * Created on: Aug 5, 2014
|
victor@2
|
5 * Author: Victor Zappi and Andrew McPherson
|
victor@2
|
6 */
|
victor@2
|
7
|
victor@2
|
8 #ifndef FIRFILTER_H_
|
victor@2
|
9 #define FIRFILTER_H_
|
victor@2
|
10
|
victor@2
|
11
|
victor@2
|
12 #include <NE10.h>
|
victor@2
|
13
|
victor@2
|
14 #define FILTER_TAP_NUM 31
|
victor@2
|
15
|
victor@2
|
16 // Coefficients for FIR High Pass Filter at 3 KHz
|
victor@2
|
17 ne10_float32_t filterTaps[FILTER_TAP_NUM] = {
|
victor@2
|
18 -0.000055,
|
victor@2
|
19 0.000318,
|
victor@2
|
20 0.001401,
|
victor@2
|
21 0.003333,
|
victor@2
|
22 0.005827,
|
victor@2
|
23 0.007995,
|
victor@2
|
24 0.008335,
|
victor@2
|
25 0.004991,
|
victor@2
|
26 -0.003764,
|
victor@2
|
27 -0.018906,
|
victor@2
|
28 -0.040112,
|
victor@2
|
29 -0.065486,
|
victor@2
|
30 -0.091722,
|
victor@2
|
31 -0.114710,
|
victor@2
|
32 -0.130454,
|
victor@2
|
33 0.863946,
|
victor@2
|
34 -0.130454,
|
victor@2
|
35 -0.114710,
|
victor@2
|
36 -0.091722,
|
victor@2
|
37 -0.065486,
|
victor@2
|
38 -0.040112,
|
victor@2
|
39 -0.018906,
|
victor@2
|
40 -0.003764,
|
victor@2
|
41 0.004991,
|
victor@2
|
42 0.008335,
|
victor@2
|
43 0.007995,
|
victor@2
|
44 0.005827,
|
victor@2
|
45 0.003333,
|
victor@2
|
46 0.001401,
|
victor@2
|
47 0.000318,
|
victor@2
|
48 -0.000055
|
victor@2
|
49 };
|
victor@2
|
50
|
victor@2
|
51 #endif /* FIRFILTER_H_ */
|