Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Makefile
README.md
dtmf.sh
goertzel.c
guitar-tuner.sh
histogram.pl
histogram.sh
sleepmon.README
sleepmon.sh
sleepplot.sh
sleepstats.sh

README.md

Goertzel

Scriptable tone detection and audio analysis

Contents

  • goertzel.c

    • Does all the dirty work using 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
    • guitar-tuner.sh: example using histogram.pl to tune guitar (currently only to low E)
    • 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
    • sleepplot.sh: Generates gnuplot graph from sleeplog
    • TODO
      • Send me more...
Something went wrong with that request. Please try again.