Mercurial > hg > beaglert
annotate examples/04-Audio/filter-FIR/FIRfilter.h @ 499:a15a116f6904 prerelease
Took some of the verbosity out of the Doxyfile
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 22 Jun 2016 00:04:04 +0100 |
parents | 8fcfbfb32aa0 |
children |
rev | line source |
---|---|
robert@464 | 1 /* |
robert@464 | 2 * FIRfilter.h |
robert@464 | 3 * |
robert@464 | 4 * Created on: Aug 5, 2014 |
robert@464 | 5 * Author: Victor Zappi and Andrew McPherson |
robert@464 | 6 */ |
robert@464 | 7 |
robert@464 | 8 #ifndef FIRFILTER_H_ |
robert@464 | 9 #define FIRFILTER_H_ |
robert@464 | 10 |
robert@464 | 11 |
robert@464 | 12 #include <ne10/NE10.h> |
robert@464 | 13 |
robert@464 | 14 #define FILTER_TAP_NUM 31 |
robert@464 | 15 |
robert@464 | 16 // Coefficients for FIR High Pass Filter at 3 KHz |
robert@464 | 17 ne10_float32_t filterTaps[FILTER_TAP_NUM] = { |
robert@464 | 18 -0.000055, |
robert@464 | 19 0.000318, |
robert@464 | 20 0.001401, |
robert@464 | 21 0.003333, |
robert@464 | 22 0.005827, |
robert@464 | 23 0.007995, |
robert@464 | 24 0.008335, |
robert@464 | 25 0.004991, |
robert@464 | 26 -0.003764, |
robert@464 | 27 -0.018906, |
robert@464 | 28 -0.040112, |
robert@464 | 29 -0.065486, |
robert@464 | 30 -0.091722, |
robert@464 | 31 -0.114710, |
robert@464 | 32 -0.130454, |
robert@464 | 33 0.863946, |
robert@464 | 34 -0.130454, |
robert@464 | 35 -0.114710, |
robert@464 | 36 -0.091722, |
robert@464 | 37 -0.065486, |
robert@464 | 38 -0.040112, |
robert@464 | 39 -0.018906, |
robert@464 | 40 -0.003764, |
robert@464 | 41 0.004991, |
robert@464 | 42 0.008335, |
robert@464 | 43 0.007995, |
robert@464 | 44 0.005827, |
robert@464 | 45 0.003333, |
robert@464 | 46 0.001401, |
robert@464 | 47 0.000318, |
robert@464 | 48 -0.000055 |
robert@464 | 49 }; |
robert@464 | 50 |
robert@464 | 51 #endif /* FIRFILTER_H_ */ |