diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/filter_FIR/FIRfilter.h	Fri May 27 13:58:20 2016 +0100
@@ -0,0 +1,51 @@
+/*
+ * FIRfilter.h
+ *
+ *  Created on: Aug 5, 2014
+ *      Author: Victor Zappi and Andrew McPherson
+ */
+
+#ifndef FIRFILTER_H_
+#define FIRFILTER_H_
+
+
+#include <NE10.h>
+
+#define FILTER_TAP_NUM 31
+
+// Coefficients for FIR High Pass Filter at 3 KHz
+ne10_float32_t filterTaps[FILTER_TAP_NUM] = {
+		-0.000055,
+		0.000318,
+		0.001401,
+		0.003333,
+		0.005827,
+		0.007995,
+		0.008335,
+		0.004991,
+		-0.003764,
+		-0.018906,
+		-0.040112,
+		-0.065486,
+		-0.091722,
+		-0.114710,
+		-0.130454,
+		0.863946,
+		-0.130454,
+		-0.114710,
+		-0.091722,
+		-0.065486,
+		-0.040112,
+		-0.018906,
+		-0.003764,
+		0.004991,
+		0.008335,
+		0.007995,
+		0.005827,
+		0.003333,
+		0.001401,
+		0.000318,
+		-0.000055
+};
+
+#endif /* FIRFILTER_H_ */