diff --git a/main.js b/main.js
index <HASH>..<HASH> 100644
--- a/main.js
+++ b/main.js
@@ -4,6 +4,11 @@ var featureExtractors = {
 		return Math.sqrt(input.reduce(function(last,current){
 			return Math.pow(current,2);
 		},0)/bufferSize)
+	},
+	"energy": function(input, bufferSize) {
+		return input.reduce(function(prev, cur) {
+			return prev + Math.pow(Math.abs(cur),2);
+		}, 0);
 	}
 }
added Energy extractor yay!


Former-commit-id: <I>ba2d4f1f5f7a<I>eaee<I>e6b<I>f1b<I>ebf<I>fe