From: Tomas Mudrunka Date: Thu, 2 Aug 2012 19:02:35 +0000 (+0200) Subject: Added README to Goertzel X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=cd083ed09b3b986be243f581dcbc83483a30e16c;p=mirrors%2FPrograms.git Added README to Goertzel --- 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...