Mercurial > hg > beaglert
annotate examples/10-Instruments/d-box/FIRfilter.h @ 492:e9821d65b9ba prerelease
Heavy: your patch on the enzienaudio website should be called bela. You need to update that from your enzienaudio.com account.
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 21 Jun 2016 17:36:58 +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 #define ENABLE_NE10_FIR_FLOAT_NEON // Define needed for Ne10 library |
robert@464 | 12 #include <ne10/NE10.h> |
robert@464 | 13 |
robert@464 | 14 //#define FILTER_TAP_NUM 21 |
robert@464 | 15 //ne10_float32_t filterTaps[FILTER_TAP_NUM] = { |
robert@464 | 16 // 0.000350, |
robert@464 | 17 // 0.001133, |
robert@464 | 18 // 0.002407, |
robert@464 | 19 // 0.004203, |
robert@464 | 20 // 0.006468, |
robert@464 | 21 // 0.009057, |
robert@464 | 22 // 0.011748, |
robert@464 | 23 // 0.014265, |
robert@464 | 24 // 0.016323, |
robert@464 | 25 // 0.017671, |
robert@464 | 26 // 0.018141, |
robert@464 | 27 // 0.017671, |
robert@464 | 28 // 0.016323, |
robert@464 | 29 // 0.014265, |
robert@464 | 30 // 0.011748, |
robert@464 | 31 // 0.009057, |
robert@464 | 32 // 0.006468, |
robert@464 | 33 // 0.004203, |
robert@464 | 34 // 0.002407, |
robert@464 | 35 // 0.001133, |
robert@464 | 36 // 0.000350 |
robert@464 | 37 //}; |
robert@464 | 38 #define FILTER_TAP_NUM 31 |
robert@464 | 39 ne10_float32_t filterTaps[FILTER_TAP_NUM] = { |
robert@464 | 40 0.000018, |
robert@464 | 41 0.000043, |
robert@464 | 42 0.000078, |
robert@464 | 43 0.000125, |
robert@464 | 44 0.000183, |
robert@464 | 45 0.000252, |
robert@464 | 46 0.000330, |
robert@464 | 47 0.000415, |
robert@464 | 48 0.000504, |
robert@464 | 49 0.000592, |
robert@464 | 50 0.000677, |
robert@464 | 51 0.000754, |
robert@464 | 52 0.000818, |
robert@464 | 53 0.000866, |
robert@464 | 54 0.000897, |
robert@464 | 55 0.000907, |
robert@464 | 56 0.000897, |
robert@464 | 57 0.000866, |
robert@464 | 58 0.000818, |
robert@464 | 59 0.000754, |
robert@464 | 60 0.000677, |
robert@464 | 61 0.000592, |
robert@464 | 62 0.000504, |
robert@464 | 63 0.000415, |
robert@464 | 64 0.000330, |
robert@464 | 65 0.000252, |
robert@464 | 66 0.000183, |
robert@464 | 67 0.000125, |
robert@464 | 68 0.000078, |
robert@464 | 69 0.000043, |
robert@464 | 70 0.000018 |
robert@464 | 71 }; |
robert@464 | 72 |
robert@464 | 73 #endif /* FIRFILTER_H_ */ |