From cd083ed09b3b986be243f581dcbc83483a30e16c Mon Sep 17 00:00:00 2001 From: Tomas Mudrunka Date: Thu, 2 Aug 2012 21:02:35 +0200 Subject: [PATCH] Added README to Goertzel --- c/goertzel/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 c/goertzel/README.md diff --git a/c/goertzel/README.md b/c/goertzel/README.md new file mode 100644 index 0000000..a21b5cc --- /dev/null +++ b/c/goertzel/README.md @@ -0,0 +1,23 @@ +# Goertzel +Scriptable tone detection and audio analysis + +## Contents + +* **goertzel.c** + * Does all the dirty work using Goertzel algorithm + * http://en.wikipedia.org/wiki/Goertzel_algorithm + * Detect specified tones and print their levels + * Filter tones using tresholds + * Eg.: Print levels only when treshold is crossed (=event detection) + * TODO + * treshold hysteresis + +* Sample scripts using goertzel.c + * **dtmf.sh**: decodes DTMF signals in audio + * **histogram.pl**: shows goertzel output in ASCII graphs + * **histogram.sh**: example using histogram.pl to draw realtime equalizer + * **sleepmon.sh**: Generates frequency on soundcard output and detects it on input + * Can be used to detect and log motion using soundcard and PIR sensor or NC switch + * TODO + * Guitar tuner + * Send me more... -- 2.30.2